-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I had it off. I guess because it needs a different config (wikimedia/server). This patch sets that up. Will run autofixes in the next patch. Should be able to get rid of a bunch of rule exceptions by running the autofixes.
- Loading branch information
1 parent
6994d0b
commit abf7f91
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
scripts/ | ||
tests/ | ||
lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"extends": [ | ||
"wikimedia/server" | ||
], | ||
"env": { | ||
"jest": true | ||
}, | ||
"root": true, | ||
"rules": { | ||
"array-bracket-spacing": "off", | ||
"computed-property-spacing": "off", | ||
"no-shadow": "off", | ||
"space-in-parens": "off", | ||
|
||
"camelcase": "warn", | ||
"comma-dangle": "warn", | ||
"eol-last": "warn", | ||
"new-cap": "warn", | ||
"prefer-arrow-callback": "warn", | ||
"prefer-const": "warn", | ||
"no-trailing-spaces": "warn", | ||
"no-undef": "warn", | ||
"no-useless-escape": "warn", | ||
"no-var": "warn", | ||
"semi": "warn", | ||
"strict": "warn", | ||
"quotes": "warn", | ||
"unicorn/prefer-date-now": "warn" | ||
} | ||
} |