1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-24 14:13:06 +02:00

Add eslint-plugin-compat.

We can check for browser compatibility on lint time now.
This commit is contained in:
XhmikosR
2017-09-17 08:42:53 +03:00
parent f17443748d
commit e8d9a034d0
4 changed files with 41 additions and 2 deletions

View File

@@ -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