Skip to content

Commit a10da65

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/a44c42967442d65fd14272682fb84a6f32feb841/src/transforms/xo:config.js Please contact the author of the transform if you believe there was an error.
1 parent 2305cf7 commit a10da65

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
@@ -186,5 +186,28 @@
186186
},
187187
"prettier": {
188188
"trailingComma": "all"
189+
},
190+
"xo": {
191+
"prettier": true,
192+
"plugins": [
193+
"unicorn"
194+
],
195+
"rules": {
196+
"unicorn/filename-case": "off",
197+
"camelcase": "off",
198+
"unicorn/prevent-abbreviations": "off",
199+
"no-constant-condition": "off",
200+
"unicorn/prefer-math-trunc": "off",
201+
"unicorn/no-new-array": "off",
202+
"no-negated-condition": "off"
203+
},
204+
"overrides": [
205+
{
206+
"files": [
207+
"doc/**"
208+
],
209+
"env": "browser"
210+
}
211+
]
189212
}
190213
}

0 commit comments

Comments
 (0)