UNPKG

1.08 kBJavaScriptView Raw
1"use strict";
2module.exports = {
3 overrides: [
4 {
5 files: ['*.ts', '*.tsx'],
6 rules: {
7 'constructor-super': 'off',
8 'getter-return': 'off',
9 'no-const-assign': 'off',
10 'no-dupe-args': 'off',
11 'no-dupe-class-members': 'off',
12 'no-dupe-keys': 'off',
13 'no-func-assign': 'off',
14 'no-import-assign': 'off',
15 'no-new-symbol': 'off',
16 'no-obj-calls': 'off',
17 'no-redeclare': 'off',
18 'no-setter-return': 'off',
19 'no-this-before-super': 'off',
20 'no-undef': 'off',
21 'no-unreachable': 'off',
22 'no-unsafe-negation': 'off',
23 'no-var': 'error',
24 'prefer-const': 'error',
25 'prefer-rest-params': 'error',
26 'prefer-spread': 'error',
27 'valid-typeof': 'off', // ts(2367)
28 },
29 },
30 ],
31};
32//# sourceMappingURL=eslint-recommended.js.map
\No newline at end of file