VChart/packages/vmind/.eslintrc.cjs
2023-10-31 21:19:13 +08:00

19 lines
451 B
JavaScript

require('@rushstack/eslint-patch/modern-module-resolution');
module.exports = {
extends: ['@internal/eslint-config/profile/react'],
parserOptions: { tsconfigRootDir: __dirname, project: './tsconfig.eslint.json' },
// ignorePatterns: [],
env: {
browser: true,
es2021: true,
node: true,
jest: true
},
rules: {
'@typescript-eslint/no-unused-vars': 'warn',
'react/display-name': 'off',
'no-console': 'warn'
}
};