summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/javascript.ts4
-rw-r--r--src/rules/unicorn.json1
2 files changed, 5 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,
},
};
diff --git a/src/rules/unicorn.json b/src/rules/unicorn.json
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/src/rules/unicorn.json
@@ -0,0 +1 @@
+{}