Skip to content

Commit bcd8ad6

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

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
@@ -218,5 +218,27 @@
218218
},
219219
"prettier": {
220220
"trailingComma": "all"
221+
},
222+
"xo": {
223+
"prettier": true,
224+
"plugins": [
225+
"unicorn"
226+
],
227+
"rules": {
228+
"unicorn/filename-case": "off",
229+
"camelcase": "off",
230+
"unicorn/prevent-abbreviations": "off",
231+
"no-constant-condition": "off",
232+
"unicorn/prefer-math-trunc": "off",
233+
"unicorn/no-new-array": "off"
234+
},
235+
"overrides": [
236+
{
237+
"files": [
238+
"doc/**"
239+
],
240+
"env": "browser"
241+
}
242+
]
221243
}
222244
}

0 commit comments

Comments
 (0)