Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-12-16 14:44:17 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-01-11 19:48:46 +0300
commit6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (patch)
tree249843876c99ceda24f3a1a65006a5753811d4e9 /build/.eslintrc.json
parent92cc0aba7be08add9833e1303088928363c3c199 (diff)
Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
Diffstat (limited to 'build/.eslintrc.json')
-rw-r--r--build/.eslintrc.json20
1 files changed, 20 insertions, 0 deletions
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"
+ }
+}