From 0145fa14af8be321eec1aa585396398e8201fcbf Mon Sep 17 00:00:00 2001 From: a flying potato <80830782+a-flying-potato@users.noreply.github.com> Date: Wed, 28 Jul 2021 19:08:58 +0200 Subject: [PATCH] :robot: 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. --- package.json | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/package.json b/package.json index 437f8ff..dbf8e5c 100644 --- a/package.json +++ b/package.json @@ -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" + } + ] } }