Skip to content

Commit 0145fa1

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 1f4c56b commit 0145fa1

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

0 commit comments

Comments
 (0)