|
| 1 | +/** |
| 2 | + * @type {import('eslint').Linter.LegacyConfig} |
| 3 | + */ |
1 | 4 | module.exports = { |
2 | 5 | extends: ['airbnb-base', 'plugin:@typescript-eslint/recommended', 'prettier'], |
3 | | - plugins: ['unicorn', 'import', 'prettier', '@typescript-eslint'], |
| 6 | + plugins: ['unicorn', 'import', '@typescript-eslint'], |
4 | 7 | parser: '@typescript-eslint/parser', |
5 | 8 | parserOptions: { |
6 | 9 | project: './tsconfig.json', |
7 | 10 | ecmaVersion: 'latest', |
8 | 11 | sourceType: 'module', |
9 | 12 | }, |
| 13 | + reportUnusedDisableDirectives: true, |
| 14 | + ignorePatterns: [ |
| 15 | + '.eslintrc.js', |
| 16 | + 'packages/*/lib/', |
| 17 | + 'packages/*/bin/', |
| 18 | + 'packages/neovim/scripts/', |
| 19 | + 'packages/integration-tests/__tests__/', |
| 20 | + 'examples/rplugin/node/', |
| 21 | + 'packages/example-plugin/', |
| 22 | + 'packages/example-plugin-decorators/', |
| 23 | + ], |
10 | 24 | env: { |
11 | 25 | node: true, |
12 | 26 | es2024: true, |
@@ -66,9 +80,6 @@ module.exports = { |
66 | 80 | 'no-shadow': 'off', |
67 | 81 | 'prefer-destructuring': 'off', // Intentionally disabled trash. |
68 | 82 |
|
69 | | - // prettier things |
70 | | - 'prettier/prettier': 'error', |
71 | | - |
72 | 83 | 'import/extensions': 'off', |
73 | 84 | 'import/prefer-default-export': 'off', |
74 | 85 |
|
|
0 commit comments