Skip to content

Commit 90c3d0d

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/9b50c2a1d7e9ab7b4bc9c9ff88892e98c5f62244/src/transforms/xo:config.js Please contact the author of the transform if you believe there was an error.
1 parent 7a6c004 commit 90c3d0d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

package.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,29 @@
191191
},
192192
"prettier": {
193193
"trailingComma": "all"
194+
},
195+
"xo": {
196+
"prettier": true,
197+
"plugins": [
198+
"unicorn"
199+
],
200+
"rules": {
201+
"unicorn/filename-case": "off",
202+
"camelcase": "off",
203+
"unicorn/prevent-abbreviations": "off",
204+
"no-constant-condition": "off",
205+
"unicorn/prefer-node-protocol": "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+
]
194218
}
195219
}

0 commit comments

Comments
 (0)