Skip to content

Commit

Permalink
Merge pull request #5 from StauroXYZ/stylistic-config
Browse files Browse the repository at this point in the history
feat: stylistic config
  • Loading branch information
talentlessguy authored Nov 18, 2023
2 parents 9959ef2 + 6d3b4db commit 01d31b7
Show file tree
Hide file tree
Showing 22 changed files with 356 additions and 892 deletions.
39 changes: 0 additions & 39 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.experimental.useFlatConfig": true
}
30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import stylistic from '@stylistic/eslint-plugin'
import tsParser from '@typescript-eslint/parser'
import globals from 'globals'
import js from '@eslint/js'

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
js.configs.recommended,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
globals: {
...globals.node,
...globals[''],
},
parser: tsParser,
parserOptions: {
config: './tsconfig.json',
ecmaFeatures: { modules: true },
ecmaVersion: 'latest',
},
},
},
stylistic.configs['recommended-flat'],
{
rules: {
'no-unused-vars': 'off',
},
},
]
33 changes: 20 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.1.1",
"description": "🌸 Self-custodial decentralized deployments",
"type": "module",
"bin": { "blumen": "./dist/cli.js" },
"bin": {
"blumen": "./dist/cli.js"
},
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
Expand All @@ -18,39 +20,44 @@
"prepublishOnly": "pnpm build"
},
"keywords": [
"ipfs", "filecoin", "deploy", "cli"
"ipfs",
"filecoin",
"deploy",
"cli"
],
"files": [
"dist"
],
"author": "v1rtl <[email protected]>",
"engines": { "node": ">=16.8" },
"engines": {
"node": ">=16.8"
},
"license": "MIT",
"dependencies": {
"@ensdomains/content-hash": "^3.0.0",
"@ipld/car": "^5.2.4",
"@ipld/dag-cbor": "^9.0.6",
"@ipld/unixfs": "^2.1.2",
"@stauro/piggybank": "^0.0.4",
"@stauro/piggybank": "^0.0.5",
"ascii-bar": "^1.0.3",
"cac": "^6.7.14",
"consola": "^3.2.3",
"globby": "^13.2.2",
"globby": "^14.0.0",
"multiformats": "^12.1.3",
"node-fetch": "^3.3.2",
"semver": "^7.5.4",
"table": "^6.8.1",
"varint": "^6.0.0",
"viem": "^1.18.6"
"viem": "^1.19.3"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.0.0",
"@types/node": "^20.8.10",
"@types/semver": "^7.5.4",
"@types/varint": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"semantic-release": "^22.0.7",
"@stylistic/eslint-plugin": "^1.4.0",
"@types/node": "^20.9.1",
"@types/semver": "^7.5.5",
"@types/varint": "^6.0.3",
"@typescript-eslint/parser": "^6.11.0",
"globals": "^13.23.0",
"semantic-release": "^22.0.8",
"typescript": "^5.2.2"
},
"release": {
Expand Down
Loading

0 comments on commit 01d31b7

Please sign in to comment.