Skip to content

Commit 12a7b8b

Browse files
🤖 chore(package.json): Configure xo.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/1b5252aec880aa76850f97b16980a6ce00c782c4/src/transforms/xo:config.js Please contact the author of the transform if you believe there was an error.
1 parent a75eeb4 commit 12a7b8b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,28 @@
191191
},
192192
"prettier": {
193193
"trailingComma": "all"
194+
},
195+
"xo": {
196+
"prettier": true,
197+
"plugins": [
198+
"unicorn"
199+
],
200+
"rules": {
201+
"unicorn/filename-case": "off",
202+
"camelcase": "off",
203+
"unicorn/prevent-abbreviations": "off",
204+
"no-constant-condition": "off",
205+
"unicorn/prefer-math-trunc": "off",
206+
"unicorn/no-new-array": "off",
207+
"no-negated-condition": "off"
208+
},
209+
"overrides": [
210+
{
211+
"files": [
212+
"doc/**"
213+
],
214+
"env": "browser"
215+
}
216+
]
194217
}
195218
}

0 commit comments

Comments
 (0)