mirror of
https://gh-proxy.org/https://github.com/klinsmaya/gateway.git
synced 2026-11-08 00:57:59 +08:00
18 lines
430 B
JavaScript
18 lines
430 B
JavaScript
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config({
|
|
ignores: ['.wrangler/**', 'node_modules/**', 'build/**'],
|
|
plugins: {
|
|
'@typescript-eslint': tseslint.plugin,
|
|
},
|
|
languageOptions: {
|
|
parser: tseslint.parser,
|
|
},
|
|
files: ['**/*.ts'],
|
|
rules: {
|
|
// '@typescript-eslint/no-unused-vars': 'error',
|
|
'no-duplicate-imports': 'error',
|
|
'@typescript-eslint/no-namespace': 'off',
|
|
},
|
|
});
|