25 lines
636 B
JavaScript
25 lines
636 B
JavaScript
/** 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'],
|
|
};
|