forked from KEEPER31337/Homepage-Front-R2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.oxlintrc.json
More file actions
32 lines (26 loc) · 758 Bytes
/
.oxlintrc.json
File metadata and controls
32 lines (26 loc) · 758 Bytes
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
30
31
32
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "oxc", "react", "jsx-a11y", "import"],
"env": {
"browser": true,
"es6": true
},
"ignorePatterns": ["node_modules", "dist", "build"],
"categories": {
"correctness": "error",
"suspicious": "warn",
"pedantic": "off",
"perf": "off",
"style": "off",
"restriction": "off",
"nursery": "off"
},
"rules": {
"react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }],
"react/jsx-props-no-spreading": "off"
// 지원 될 때 추가하기 (oxlint 미구현)
// - import/no-extraneous-dependencies
// - react/function-component-definition
// - react/require-default-props
}
}