New rules
This commit is contained in:
10
src/index.ts
10
src/index.ts
@ -167,13 +167,7 @@ export function extendConfig(of: InputConfig = {}): ESLintConfig {
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: [
|
||||
'.eslintrc.js',
|
||||
'*.config.js',
|
||||
'index.js',
|
||||
'babel.config.js',
|
||||
'next.config.js',
|
||||
],
|
||||
files: ['.eslintrc.js', '.eslintrc.cjs', '*.config.js', 'index.js'],
|
||||
extends: ['plugin:@typescript-eslint/disable-type-checked'],
|
||||
rules: {
|
||||
'rules/restrict-template-expressions': off,
|
||||
@ -186,7 +180,7 @@ export function extendConfig(of: InputConfig = {}): ESLintConfig {
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['repl.ts'],
|
||||
files: ['repl.ts', 'scripts/**/*.ts'],
|
||||
rules: {
|
||||
'no-console': off,
|
||||
},
|
||||
|
Reference in New Issue
Block a user