Skip to content

Commit 3aa4311

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

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

0 commit comments

Comments
 (0)