Skip to content

Commit 502c19f

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedMar 25, 2021
🤖 chore(package.json): Configure xo.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/xo:config.js Please contact the author of the transform if you believe there was an error.
1 parent 9287522 commit 502c19f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
 

‎package.json

+23
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,28 @@
179179
},
180180
"prettier": {
181181
"trailingComma": "all"
182+
},
183+
"xo": {
184+
"prettier": true,
185+
"plugins": [
186+
"unicorn"
187+
],
188+
"rules": {
189+
"unicorn/filename-case": "off",
190+
"camelcase": "off",
191+
"unicorn/prevent-abbreviations": "off",
192+
"no-constant-condition": "off",
193+
"unicorn/prefer-math-trunc": "off",
194+
"unicorn/no-new-array": "off",
195+
"no-negated-condition": "off"
196+
},
197+
"overrides": [
198+
{
199+
"files": [
200+
"doc/**"
201+
],
202+
"env": "browser"
203+
}
204+
]
182205
}
183206
}

0 commit comments

Comments
 (0)
Please sign in to comment.