Skip to content

Commit a7e40d3

Browse files
Add .oxlintrc.json to JSON with comments (#7588)
* chore: add .oxlintrc.json to json with comments * chore: add sample --------- Co-authored-by: Colin Seymour <[email protected]>
1 parent 05fa138 commit a7e40d3

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

lib/linguist/languages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3526,6 +3526,7 @@ JSON with Comments:
35263526
- ".jscsrc"
35273527
- ".jshintrc"
35283528
- ".jslintrc"
3529+
- ".oxlintrc.json"
35293530
- ".swcrc"
35303531
- api-extractor.json
35313532
- devcontainer.json
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"plugins": [
3+
"import",
4+
"typescript",
5+
"unicorn"
6+
],
7+
"env": {
8+
"browser": true
9+
},
10+
"globals": {
11+
"foo": "readonly"
12+
},
13+
"settings": {},
14+
"rules": {
15+
"eqeqeq": "warn",
16+
"import/no-cycle": "error",
17+
"react/self-closing-comp": [
18+
"error",
19+
{
20+
"html": false
21+
}
22+
]
23+
},
24+
"overrides": [
25+
{
26+
"files": [
27+
"*.test.ts",
28+
"*.spec.ts"
29+
],
30+
"rules": {
31+
"@typescript-eslint/no-explicit-any": "off"
32+
}
33+
}
34+
]
35+
}

0 commit comments

Comments
 (0)