Skip to content

Commit

Permalink
🤖 chore(package.json): Configure xo.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
a-flying-potato authored and make-github-pseudonymous-again committed Jul 28, 2021
1 parent 1f4c56b commit 0145fa1
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,28 @@
},
"prettier": {
"trailingComma": "all"
},
"xo": {
"prettier": true,
"plugins": [
"unicorn"
],
"rules": {
"unicorn/filename-case": "off",
"camelcase": "off",
"unicorn/prevent-abbreviations": "off",
"no-constant-condition": "off",
"unicorn/prefer-math-trunc": "off",
"unicorn/no-new-array": "off",
"no-negated-condition": "off"
},
"overrides": [
{
"files": [
"doc/**"
],
"env": "browser"
}
]
}
}

0 comments on commit 0145fa1

Please sign in to comment.