eslint-config-brightspace
Advanced tools
Comparing version 0.6.7 to 0.7.0
@@ -0,6 +1,21 @@ | ||
const { sortMemberRules } = require('./sort-member-config'); | ||
module.exports = { | ||
"extends": "./index.js", | ||
"env": { | ||
"browser": true | ||
} | ||
"extends": "./index.js", | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true | ||
}, | ||
"plugins": [ | ||
"html", | ||
"sort-class-members" | ||
], | ||
"globals": { | ||
"D2L": false, | ||
"Promise": false | ||
}, | ||
"rules": { | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
...sortMemberRules | ||
} | ||
}; |
@@ -1,19 +0,9 @@ | ||
const { sortMemberRules } = require('./sort-member-config'); | ||
module.exports = { | ||
"extends": "./index.js", | ||
"parser": "babel-eslint", | ||
"extends": "./browser-config.js", | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"plugins": [ | ||
"lit", | ||
"html", | ||
"sort-class-members" | ||
"lit" | ||
], | ||
"globals": { | ||
"D2L": false, | ||
"Promise": false | ||
}, | ||
"rules": { | ||
@@ -44,5 +34,4 @@ "arrow-spacing": 2, | ||
"lit/no-useless-template-literals": 2, | ||
"lit/no-value-attribute": 2, | ||
...sortMemberRules | ||
"lit/no-value-attribute": 2 | ||
} | ||
}; |
{ | ||
"name": "eslint-config-brightspace", | ||
"version": "0.6.7", | ||
"version": "0.7.0", | ||
"description": "Common Brightspace eslint configs.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,21 +0,6 @@ | ||
const { sortMemberRules } = require('./sort-member-config'); | ||
module.exports = { | ||
"extends": "./index.js", | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true | ||
}, | ||
"plugins": [ | ||
"html", | ||
"sort-class-members" | ||
], | ||
"globals": { | ||
"D2L": false, | ||
"Polymer": false | ||
}, | ||
"extends": "./browser-config.js", | ||
"rules": { | ||
"strict": 0, | ||
...sortMemberRules | ||
"strict": 0 | ||
} | ||
}; |
module.exports = { | ||
"extends": "./index.js", | ||
"env": { | ||
"browser": true | ||
}, | ||
"plugins": [ | ||
"html" | ||
], | ||
"globals": { | ||
"D2L": false, | ||
"Polymer": false | ||
}, | ||
"extends": "./browser-config.js", | ||
"rules": { | ||
@@ -14,0 +4,0 @@ "strict": 0 |
20327
222