From 6d336502c7e26c4cc5b35f1d7a19c067b774cb1f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 16 Dec 2017 13:44:17 +0200 Subject: Clean up and tweak ESLint rules. Also, refactor ESLint and stylelint config files; now everything will work from our root dir. --- build/.eslintrc.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 build/.eslintrc.json (limited to 'build/.eslintrc.json') diff --git a/build/.eslintrc.json b/build/.eslintrc.json new file mode 100644 index 0000000000..76e7f37b63 --- /dev/null +++ b/build/.eslintrc.json @@ -0,0 +1,20 @@ +{ + "env": { + "browser": false, + "node": true + }, + "parserOptions": { + "sourceType": "script" + }, + "extends": "../.eslintrc.json", + "rules": { + "consistent-return": "off", + "func-style": "off", + "no-console": "off", + "no-magic-numbers": "off", + "no-process-env": "off", + "no-process-exit": "off", + "no-sync": "off", + "spaced-comment": "off" + } +} -- cgit v1.2.3