mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-04 18:59:30 +08:00
32 lines
No EOL
1.1 KiB
Text
32 lines
No EOL
1.1 KiB
Text
"use strict";
|
|
module.exports = {
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx', '*.mts', '*.cts'],
|
|
rules: {
|
|
'constructor-super': 'off',
|
|
'getter-return': 'off',
|
|
'no-const-assign': 'off',
|
|
'no-dupe-args': 'off',
|
|
'no-dupe-class-members': 'off',
|
|
'no-dupe-keys': 'off',
|
|
'no-func-assign': 'off',
|
|
'no-import-assign': 'off',
|
|
'no-new-symbol': 'off',
|
|
'no-obj-calls': 'off',
|
|
'no-redeclare': 'off',
|
|
'no-setter-return': 'off',
|
|
'no-this-before-super': 'off',
|
|
'no-undef': 'off',
|
|
'no-unreachable': 'off',
|
|
'no-unsafe-negation': 'off',
|
|
'no-var': 'error',
|
|
'prefer-const': 'error',
|
|
'prefer-rest-params': 'error',
|
|
'prefer-spread': 'error',
|
|
'valid-typeof': 'off', // ts(2367)
|
|
},
|
|
},
|
|
],
|
|
};
|
|
//# sourceMappingURL=eslint-recommended.js.map |