Skip to content

Commit

Permalink
use generic eslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Jul 18, 2023
1 parent 412328d commit a266e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
20 changes: 1 addition & 19 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
{
"parserOptions": {
"project": ["tsconfig.json", "tsconfig.test.json"]
},
"extends": ["@iden3/eslint-config"],
"rules": {
"@typescript-eslint/no-floating-promises": ["error"],
"@typescript-eslint/no-non-null-assertion": "off"
},
"overrides": [
{
"files": ["tests/**/*.js"],
"rules": {
"no-undef": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-floating-promises": "off"
}
}
],
"ignorePatterns": ["dist", "node_modules"]
"extends": ["@iden3/eslint-config"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"doc:watch:website": "ts-node ./scripts/doc-watch.ts",
"tsc:declaration:watch": "tsc --watch --module commonjs --emitDeclarationOnly",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"strict\": false}' mocha",
"lint": "eslint --fix --ext .js,.ts src/** tests/**",
"lint": "eslint --fix --ext .ts src/** tests/**",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"deps:check": "madge --circular --extensions ts ./"
},
Expand Down

0 comments on commit a266e8d

Please sign in to comment.