diff options
| author | XhmikosR <[email protected]> | 2017-09-17 08:42:53 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-09-26 17:16:27 +0300 |
| commit | e8d9a034d075f79bd8e1613d480bd37b24598a27 (patch) | |
| tree | fddb19dd6b21b7245843c38dfe84267262172338 /js | |
| parent | f17443748dd266c0dc766e5252d7e4bcf9d04086 (diff) | |
| download | bootstrap-e8d9a034d075f79bd8e1613d480bd37b24598a27.tar.xz bootstrap-e8d9a034d075f79bd8e1613d480bd37b24598a27.zip | |
Add eslint-plugin-compat.
We can check for browser compatibility on lint time now.
Diffstat (limited to 'js')
| -rw-r--r-- | js/.eslintrc.json | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json index cc4e58ebd..7316e6f22 100644 --- a/js/.eslintrc.json +++ b/js/.eslintrc.json @@ -7,6 +7,7 @@ "jquery": true }, "extends": "eslint:recommended", + "plugins": ["compat"], "parserOptions": { "ecmaVersion": 8, "sourceType": "module" @@ -17,6 +18,7 @@ "no-extra-parens": "error", "no-prototype-builtins": "error", "no-template-curly-in-string": "error", + "compat/compat": "error", "valid-jsdoc": "error", // Best Practices |
