Skip to content

Commit

Permalink
chore(lint): Loosen stricter eslint warnings (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Apr 15, 2024
1 parent 5d4644d commit 9f57d9d
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,26 @@ module.exports = getESLintConfig({
es6: true
},
overrides: [
{
files: [
'modules/*/src/**/*.{ts,tsx}',
'modules/*/test/**/*.{ts,tsx}',
],
rules: {
// TODO: Gradually enable, at least for non-test code.
'@typescript-eslint/no-unsafe-call': 0,
'@typescript-eslint/no-unsafe-assignment': 0,
'@typescript-eslint/no-unsafe-return': 0,
'@typescript-eslint/no-unsafe-member-access': 0,
'@typescript-eslint/explicit-module-boundary-types': 0
}
},
{
files: ['**/test/**/*.*', 'webpack.config.js', 'vite.config.js'],
rules: {
// devDependencies are installed workspace root.
'import/no-extraneous-dependencies': 0,
'import/no-unresolved': 0,
/** Disable 'any' after TypeScript migration. */
'@typescript-eslint/no-unsafe-call': 0
}
}
],
Expand Down

0 comments on commit 9f57d9d

Please sign in to comment.