diff options
author | XhmikosR <xhmikosr@gmail.com> | 2017-12-16 14:44:17 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-01-11 19:48:46 +0300 |
commit | 6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (patch) | |
tree | 249843876c99ceda24f3a1a65006a5753811d4e9 /docs | |
parent | 92cc0aba7be08add9833e1303088928363c3c199 (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 'docs')
-rw-r--r-- | docs/4.0/examples/.eslintrc.json | 11 | ||||
-rw-r--r-- | docs/4.0/examples/.stylelintrc | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/4.0/examples/.eslintrc.json b/docs/4.0/examples/.eslintrc.json new file mode 100644 index 0000000000..f04fd6ae13 --- /dev/null +++ b/docs/4.0/examples/.eslintrc.json @@ -0,0 +1,11 @@ +{ + "env": { + "es6": false, + "jquery": true + }, + "parserOptions": { + "ecmaVersion": 5, + "sourceType": "script" + }, + "extends": "../../../js/tests/unit/.eslintrc.json" +} diff --git a/docs/4.0/examples/.stylelintrc b/docs/4.0/examples/.stylelintrc index 44cf7c0e0f..6a77dcedb6 100644 --- a/docs/4.0/examples/.stylelintrc +++ b/docs/4.0/examples/.stylelintrc @@ -1,5 +1,5 @@ { - "extends": "../../../build/.stylelintrc", + "extends": "../../../.stylelintrc", "rules": { "at-rule-no-vendor-prefix": null, "comment-empty-line-before": null, |