Skip to content

Commit

Permalink
Update ESLint configuration to ignore additional directories and files
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed May 31, 2024
1 parent f82b850 commit d82bf55
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
"plugin:@typescript-eslint/recommended",
"prettier"
],
"ignorePatterns": [
"**/node_modules/**",
"/built/**",
"/tests/**",
"/lib/**",
"/src/lib/*.generated.d.ts",
"/scripts/**/*.js",
"/scripts/**/*.d.*",
"/internal/**",
"/coverage/**"
],
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-use-before-define": [
Expand All @@ -24,7 +35,18 @@
"classes": false
}
],
"@typescript-eslint/no-unused-vars": ["warn"],
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "all",
"argsIgnorePattern": "^_",
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^_",
"destructuredArrayIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"ignoreRestSiblings": true
}
],
"@typescript-eslint/explicit-function-return-type": [
1,
{
Expand All @@ -45,6 +67,5 @@
}
],
"keyword-spacing": ["error"]
},
"ignorePatterns": ["**/*.d.ts"]
}
}

0 comments on commit d82bf55

Please sign in to comment.