v1.1.0: pooled runtime, 959 tests, production hardening (0 squash)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint'],
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 2022,
|
||||
sourceType: 'module',
|
||||
},
|
||||
env: {
|
||||
node: true,
|
||||
es2022: true,
|
||||
},
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
||||
'prefer-const': 'warn',
|
||||
'no-inner-declarations': 'warn',
|
||||
'no-constant-condition': 'warn',
|
||||
'no-empty-pattern': 'warn',
|
||||
'@typescript-eslint/ban-types': 'warn',
|
||||
'no-case-declarations': 'warn',
|
||||
},
|
||||
ignorePatterns: ['dist/', 'node_modules/', '*.js', '*.d.ts'],
|
||||
};
|
||||
Reference in New Issue
Block a user