summaryrefslogtreecommitdiff
path: root/src/javascript.ts
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 11:31:12 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 11:31:12 +0300
commit92d87f46c8c7b6519aff38912b9c4cb13d113236 (patch)
tree8bf973b84dd611a64113c2f3ee6a6c299f4471d6 /src/javascript.ts
parent3a6a1d0c3ad4d742e4da37b93613cf77b066dc7f (diff)
downloadeslint-config-92d87f46c8c7b6519aff38912b9c4cb13d113236.tar.xz
eslint-config-92d87f46c8c7b6519aff38912b9c4cb13d113236.zip
feat(unicorn): Initial Unicorn plugin
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src/javascript.ts')
-rw-r--r--src/javascript.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/javascript.ts b/src/javascript.ts
index 85499be..403ebdb 100644
--- a/src/javascript.ts
+++ b/src/javascript.ts
@@ -2,6 +2,7 @@ import rDefault from "./rules/default.json";
import rImport from "./rules/import.json";
import rSecurity from "./rules/security.json";
import rSonarJS from "./rules/sonarjs.json";
+import rUnicorn from "./rules/unicorn.json";
module.exports = {
"extends": [
@@ -11,16 +12,19 @@ module.exports = {
"plugin:import/warnings",
"plugin:security/recommended",
"plugin:sonarjs/recommended",
+ "plugin:unicorn/recommended",
],
"plugins": [
"import",
"security",
"sonarjs",
+ "unicorn",
],
"rules": {
...rDefault,
...rImport,
...rSecurity,
...rSonarJS,
+ ...rUnicorn,
},
};