Skip to content

Commit 3b103b1

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

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

package.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,27 @@
169169
},
170170
"prettier": {
171171
"trailingComma": "all"
172+
},
173+
"xo": {
174+
"prettier": true,
175+
"plugins": [
176+
"unicorn"
177+
],
178+
"rules": {
179+
"unicorn/filename-case": "off",
180+
"camelcase": "off",
181+
"unicorn/prevent-abbreviations": "off",
182+
"no-constant-condition": "off",
183+
"unicorn/prefer-math-trunc": "off",
184+
"unicorn/no-new-array": "off"
185+
},
186+
"overrides": [
187+
{
188+
"files": [
189+
"doc/**"
190+
],
191+
"env": "browser"
192+
}
193+
]
172194
}
173195
}

0 commit comments

Comments
 (0)