Skip to content

Commit d27cfe8

Browse files
committed
build: properly extend ESLint base configuration
1 parent 62c617b commit d27cfe8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.eslintrc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
const {overrides, ...config} = require('@hover/javascript/eslint')
2-
31
module.exports = {
4-
...config,
2+
extends: require.resolve('@hover/javascript/eslint'),
53
ignorePatterns: ['dom-testing-library.js', 'rollup.input.js'],
64
parserOptions: {
75
tsconfigRootDir: __dirname,
86
project: ['tsconfig.eslint.json', 'tsconfig.json'],
97
},
108
rules: {
9+
'@typescript-eslint/no-unsafe-assignment': 'off',
10+
'@typescript-eslint/no-unsafe-member-access': 'off',
11+
'@typescript-eslint/no-unsafe-return': 'off',
1112
'no-restricted-syntax': 'off',
1213
'no-underscore-dangle': ['error', {allow: ['__regex', '__flags']}],
1314
},

0 commit comments

Comments
 (0)