|
1 | 1 | module.exports = { |
2 | 2 | extends: [ |
3 | | - 'eslint:recommended', |
4 | | - 'plugin:@typescript-eslint/recommended', |
5 | | - 'plugin:prettier/recommended', |
| 3 | + "eslint:recommended", |
| 4 | + "plugin:@typescript-eslint/recommended", |
| 5 | + "plugin:prettier/recommended", |
6 | 6 | ], |
7 | 7 | parserOptions: { |
8 | 8 | tsconfigRootDir: __dirname, |
9 | | - project: ['./tsconfig.json'], |
| 9 | + project: ["./tsconfig.json"], |
10 | 10 | }, |
11 | 11 | ignorePatterns: [ |
12 | | - '.eslintrc.js', // https://stackoverflow.com/q/63118405 |
13 | | - 'jest.config.js', |
14 | | - 'dist/**', |
| 12 | + ".eslintrc.js", // https://stackoverflow.com/q/63118405 |
| 13 | + "jest.config.js", |
| 14 | + "dist/**", |
15 | 15 | ], |
16 | 16 |
|
17 | 17 | rules: { |
18 | | - curly: ['error', 'multi-line'], |
19 | | - '@typescript-eslint/no-non-null-assertion': 0, |
20 | | - '@typescript-eslint/no-empty-interface': 0, |
21 | | - '@typescript-eslint/ban-types': 1, |
22 | | - '@typescript-eslint/no-unused-vars': [ |
23 | | - 'error', |
| 18 | + curly: ["error", "multi-line"], |
| 19 | + "@typescript-eslint/no-non-null-assertion": 0, |
| 20 | + "@typescript-eslint/no-empty-interface": 0, |
| 21 | + "@typescript-eslint/ban-types": 1, |
| 22 | + "@typescript-eslint/no-unused-vars": [ |
| 23 | + "error", |
24 | 24 | { |
25 | | - argsIgnorePattern: '^_', |
26 | | - varsIgnorePattern: '^_', |
| 25 | + argsIgnorePattern: "^_", |
| 26 | + varsIgnorePattern: "^_", |
27 | 27 | }, |
28 | 28 | ], |
29 | 29 | }, |
|
0 commit comments