Skip to content

Commit e804ead

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

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,5 +174,30 @@
174174
},
175175
"prettier": {
176176
"trailingComma": "all"
177+
},
178+
"xo": {
179+
"prettier": true,
180+
"plugins": [
181+
"unicorn"
182+
],
183+
"rules": {
184+
"unicorn/filename-case": [
185+
"error",
186+
{
187+
"cases": {
188+
"camelCase": true,
189+
"pascalCase": true
190+
}
191+
}
192+
]
193+
},
194+
"overrides": [
195+
{
196+
"files": [
197+
"doc/**"
198+
],
199+
"env": "browser"
200+
}
201+
]
177202
}
178203
}

0 commit comments

Comments
 (0)