Skip to content

Commit ce11d26

Browse files
🤖 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/f4f2f038c1728370f45204d13b52e4691640a5b4/src/transforms/xo:config.js Please contact the author of the transform if you believe there was an error.
1 parent 0891dc0 commit ce11d26

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
@@ -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)