Skip to content

Commit 7f5ae4b

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 9aba6ad commit 7f5ae4b

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
@@ -194,5 +194,28 @@
194194
},
195195
"prettier": {
196196
"trailingComma": "all"
197+
},
198+
"xo": {
199+
"prettier": true,
200+
"plugins": [
201+
"unicorn"
202+
],
203+
"rules": {
204+
"unicorn/filename-case": "off",
205+
"camelcase": "off",
206+
"unicorn/prevent-abbreviations": "off",
207+
"no-constant-condition": "off",
208+
"unicorn/prefer-math-trunc": "off",
209+
"unicorn/no-new-array": "off",
210+
"no-negated-condition": "off"
211+
},
212+
"overrides": [
213+
{
214+
"files": [
215+
"doc/**"
216+
],
217+
"env": "browser"
218+
}
219+
]
197220
}
198221
}

0 commit comments

Comments
 (0)