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. --- docs/4.0/examples/.eslintrc.json | 11 +++++++++++ docs/4.0/examples/.stylelintrc | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 docs/4.0/examples/.eslintrc.json (limited to 'docs') diff --git a/docs/4.0/examples/.eslintrc.json b/docs/4.0/examples/.eslintrc.json new file mode 100644 index 000000000..f04fd6ae1 --- /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 44cf7c0e0..6a77dcedb 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, -- cgit v1.2.3