You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
636 B
24 lines
636 B
/** Shared base ESLint config for the Reception monorepo. */ |
|
module.exports = { |
|
root: false, |
|
parser: '@typescript-eslint/parser', |
|
plugins: ['@typescript-eslint'], |
|
extends: [ |
|
'eslint:recommended', |
|
'plugin:@typescript-eslint/recommended', |
|
'prettier', |
|
], |
|
parserOptions: { |
|
ecmaVersion: 2022, |
|
sourceType: 'module', |
|
}, |
|
env: { |
|
node: true, |
|
es2022: true, |
|
}, |
|
rules: { |
|
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], |
|
'@typescript-eslint/no-explicit-any': 'warn', |
|
}, |
|
ignorePatterns: ['dist', 'build', '.next', 'node_modules', '*.config.js', '*.config.ts'], |
|
};
|
|
|