Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed May 25, 2024
1 parent 2fb9361 commit 3a47109
Show file tree
Hide file tree
Showing 89 changed files with 2,943 additions and 3,138 deletions.
13 changes: 11 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "simple-import-sort", "unused-imports"],
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"unused-imports"
],
"rules": {
"indent": [
"error",
2
],
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"simple-import-sort/imports": 1,
"simple-import-sort/exports": 1,
"unused-imports/no-unused-imports": 1,
Expand All @@ -36,4 +45,4 @@
"no-implicit-globals": 0,
"@typescript-eslint/no-unsafe-declaration-merging": 0
}
}
}
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"clean": "lerna run clean",
"build": "lerna run build --stream",
"test": "lerna run test --stream",
"lint": "lerna run lint --parallel",
"symlink": "symlink-workspace --logLevel error",
"postinstall": "yarn symlink"
},
Expand All @@ -17,12 +18,12 @@
"@types/jest": "^29.5.11",
"@types/mkdirp": "1.0.2",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"copyfiles": "^2.4.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-unused-imports": "^4.0.0",
"eslint": "^8.56.0",
"glob": "8.0.3",
"jest-in-case": "^1.0.2",
Expand Down
71 changes: 0 additions & 71 deletions packages/ast/.eslintrc.js

This file was deleted.

Loading

0 comments on commit 3a47109

Please sign in to comment.