aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 000000000..e7d67eb0e
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,21 @@
+{
+ "root": true,
+
+ "extends": "jquery",
+
+ // Uncomment to find useless comment disable directives
+ // "reportUnusedDisableDirectives": true,
+
+ "parserOptions": {
+ "ecmaVersion": 2018
+ },
+
+ "env": {
+ "es6": true,
+ "node": true
+ },
+
+ "rules": {
+ "strict": [ "error", "global" ]
+ }
+}