Skip to content

Commit cd9b948

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

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
@@ -181,5 +181,28 @@
181181
},
182182
"prettier": {
183183
"trailingComma": "all"
184+
},
185+
"xo": {
186+
"prettier": true,
187+
"plugins": [
188+
"unicorn"
189+
],
190+
"rules": {
191+
"unicorn/filename-case": "off",
192+
"camelcase": "off",
193+
"unicorn/prevent-abbreviations": "off",
194+
"no-constant-condition": "off",
195+
"unicorn/prefer-math-trunc": "off",
196+
"unicorn/no-new-array": "off",
197+
"no-negated-condition": "off"
198+
},
199+
"overrides": [
200+
{
201+
"files": [
202+
"doc/**"
203+
],
204+
"env": "browser"
205+
}
206+
]
184207
}
185208
}

0 commit comments

Comments
 (0)