Skip to content

Commit abb563d

Browse files
committed
fix lint
1 parent 001cf70 commit abb563d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/eslint-plugin-svelte/eslint.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,19 @@ const config = [
123123
'yml/no-tab-indent': 'off'
124124
}
125125
},
126-
127126
{
128127
files: ['tests/**'],
129128
rules: {
130129
'@typescript-eslint/no-misused-promises': 'off',
131130
'@typescript-eslint/no-require-imports': 'off'
132131
}
132+
},
133+
{
134+
files: ['eslint.config.mjs'],
135+
rules: {
136+
// Some ESLint plugins specify in repository root's package.json, so this rule should be disabled.
137+
'n/no-extraneous-import': 'off'
138+
}
133139
}
134140
];
135141
export default config;

0 commit comments

Comments
 (0)