-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.cjs
More file actions
22 lines (22 loc) · 690 Bytes
/
Copy path.eslintrc.cjs
File metadata and controls
22 lines (22 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Shared ESLint baseline for the monorepo.
module.exports = {
root: true,
env: {
browser: true,
es2022: true,
node: true
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
plugins: ['@typescript-eslint', 'react-hooks', 'react-refresh'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
// Keep ignore list aligned with .eslintignore for predictable editor/CLI behavior.
ignorePatterns: ['dist', 'build', 'node_modules', 'apps/desktop/src-tauri/target'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'react-refresh/only-export-components': 'off'
}
};