Skip to content

Commit

Permalink
ESLint: standard to standard-with-typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
nirnejak committed Nov 18, 2023
1 parent 1ba8659 commit 7fc47aa
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 33 deletions.
16 changes: 9 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12
},
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"node": true
},
"extends": [
"standard",
"standard-with-typescript",
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:security/recommended"
"plugin:security/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12
},
"plugins": ["@typescript-eslint", "security"],
"rules": {
"@typescript-eslint/no-unused-vars": "error"
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-explicit-any": "off"
}
}
74 changes: 51 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"devDependencies": {
"@types/cors": "^2.8.16",
"@types/heapdump": "^0.3.4",
"@types/node": "^20.9.0",
"@types/node": "^20.9.1",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"eslint": "^8.53.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.1",
Expand Down

0 comments on commit 7fc47aa

Please sign in to comment.