Skip to content

Commit 01a7ebd

Browse files
authored
chore(preact-query*): clarify why the base rules from 'eslint-config-preact' are turned off (#11928)
1 parent 79e2e42 commit 01a7ebd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/preact-query-devtools/eslint.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig([
1414
parser: tsParser,
1515
},
1616
rules: {
17-
// Disable base rule to prevent overload false positives
17+
// Base rules from 'eslint-config-preact' that are already covered by TypeScript and 'import/no-duplicates'
1818
'no-redeclare': 'off',
1919
'no-duplicate-imports': 'off',
2020
'no-unused-vars': 'off',

‎packages/preact-query-persist-client/eslint.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig([
1414
parser: tsParser,
1515
},
1616
rules: {
17-
// Disable base rule to prevent overload false positives
17+
// Base rules from 'eslint-config-preact' that are already covered by TypeScript and 'import/no-duplicates'
1818
'no-redeclare': 'off',
1919
'no-duplicate-imports': 'off',
2020
'no-unused-vars': 'off',

‎packages/preact-query/eslint.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default defineConfig([
1414
parser: tsParser,
1515
},
1616
rules: {
17-
// Disable base rule to prevent overload false positives
17+
// Base rules from 'eslint-config-preact' that are already covered by TypeScript and 'import/no-duplicates'
1818
'no-redeclare': 'off',
1919
'no-duplicate-imports': 'off',
2020
'no-unused-vars': 'off',

0 commit comments

Comments
 (0)