Update
This commit is contained in:
@ -67,6 +67,7 @@ export const importTypeScript = defineMiddleware((config, { addRules, addSetting
|
||||
extends: ['plugin:@typescript-eslint/disable-type-checked'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-require-imports': off,
|
||||
'import-x/no-commonjs': off,
|
||||
'rules/restrict-template-expressions': off,
|
||||
},
|
||||
},
|
||||
|
@ -92,6 +92,6 @@ const unicornRules: Partial<UnicornRulesObject> = {
|
||||
};
|
||||
|
||||
export const unicorn = defineMiddleware((config, { addRules }) => {
|
||||
config.extends.push('plugin:unicorn/recommended');
|
||||
config.plugins.push('unicorn');
|
||||
addRules(unicornRules);
|
||||
});
|
||||
|
Reference in New Issue
Block a user