mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
bump eslint-plugin-ember, enable default rules
This commit is contained in:
parent
1fb2b49a5b
commit
a654fa645b
3 changed files with 9 additions and 6 deletions
|
@ -10,10 +10,10 @@ module.exports = {
|
|||
},
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:ember/recommended',
|
||||
'plugin:ember-suave/recommended'
|
||||
],
|
||||
plugins: [
|
||||
'ember',
|
||||
'sort-imports-es6-autofix'
|
||||
],
|
||||
rules: {
|
||||
|
@ -29,7 +29,10 @@ module.exports = {
|
|||
'sort-imports-es6-autofix/sort-imports-es6': ['error', {
|
||||
memberSyntaxSortOrder: ['none', 'all', 'single', 'multiple']
|
||||
}],
|
||||
'ember/no-old-shims': ['error']
|
||||
|
||||
// TODO: re-enable this rule once this lands
|
||||
// https://github.com/ember-cli/eslint-plugin-ember/pull/186
|
||||
'ember/no-global-jquery': 'off'
|
||||
},
|
||||
globals: {
|
||||
validator: false
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
"ember-truth-helpers": "2.0.0",
|
||||
"ember-wormhole": "0.5.3",
|
||||
"emberx-file-input": "1.1.2",
|
||||
"eslint-plugin-ember": "4.6.2",
|
||||
"eslint-plugin-ember": "5.0.1",
|
||||
"eslint-plugin-ember-suave": "1.0.0",
|
||||
"eslint-plugin-sort-imports-es6-autofix": "https://github.com/kevinansfield/eslint-plugin-sort-imports-es6-autofix.git#node-4-compat",
|
||||
"fs-extra": "4.0.2",
|
||||
|
|
|
@ -4034,9 +4034,9 @@ eslint-plugin-ember-suave@1.0.0:
|
|||
dependencies:
|
||||
requireindex "~1.1.0"
|
||||
|
||||
eslint-plugin-ember@4.6.2:
|
||||
version "4.6.2"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-ember/-/eslint-plugin-ember-4.6.2.tgz#9916198e8ef091c5249f8b3f2d9d0a9c5d9a936d"
|
||||
eslint-plugin-ember@5.0.1:
|
||||
version "5.0.1"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-ember/-/eslint-plugin-ember-5.0.1.tgz#bd4b20e137b01530b709d87feb8428bbd68eb096"
|
||||
dependencies:
|
||||
ember-rfc176-data "^0.2.7"
|
||||
require-folder-tree "^1.4.5"
|
||||
|
|
Loading…
Add table
Reference in a new issue