forked from Vali-98/ChatterUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
29 lines (28 loc) · 806 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
root: true,
extends: ['universe/native', 'universe/shared/typescript-analysis'],
overrides: [
{
files: ['*.ts', '*.tsx', '*.d.ts', '*.js', '*.jsx'],
parserOptions: {
project: './tsconfig.json',
},
},
],
plugins: ['prettier', 'eslint-plugin-react-compiler', 'internal'],
rules: {
'internal/enforce-spacing-values': 'error',
'react-compiler/react-compiler': 'error',
'prettier/prettier': [
'error',
{},
{
usePrettierrc: true,
},
],
radix: 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'object-shorthand': ['warn', 'consistent'],
},
}