diff --git a/ember-addon.js b/ember-addon.js index 0ad44c3..47c3bcd 100644 --- a/ember-addon.js +++ b/ember-addon.js @@ -1,29 +1,7 @@ module.exports = { - parser: "babel-eslint", - parserOptions: { - ecmaVersion: 2018, - sourceType: "module", - ecmaFeatures: { - legacyDecorators: true - } - }, - plugins: [ - "ember", - "ember-suave" - ], extends: [ - "eslint:recommended", - "plugin:ember/recommended", - "plugin:ember-suave/recommended", - "./core.js" + "./ember-core.js" ], - env: { - browser: true - }, - rules: { - "ember/no-jquery": "warn", - "ember-suave/require-access-in-comments": "off" - }, overrides: [ // node files { diff --git a/ember-core.js b/ember-core.js new file mode 100644 index 0000000..c2f1c91 --- /dev/null +++ b/ember-core.js @@ -0,0 +1,27 @@ +module.exports = { + parser: "babel-eslint", + parserOptions: { + ecmaVersion: 2018, + sourceType: "module", + ecmaFeatures: { + legacyDecorators: true + } + }, + plugins: [ + "ember", + "ember-suave" + ], + extends: [ + "eslint:recommended", + "plugin:ember/recommended", + "plugin:ember-suave/recommended", + "./core.js" + ], + env: { + browser: true + }, + rules: { + "ember/no-jquery": "warn", + "ember-suave/require-access-in-comments": "off" + } +} diff --git a/ember.js b/ember.js index 7d0e1d8..22cb9de 100644 --- a/ember.js +++ b/ember.js @@ -1,29 +1,7 @@ module.exports = { - parser: "babel-eslint", - parserOptions: { - ecmaVersion: 2018, - sourceType: "module", - ecmaFeatures: { - legacyDecorators: true - } - }, - plugins: [ - "ember", - "ember-suave" - ], extends: [ - "eslint:recommended", - "plugin:ember/recommended", - "plugin:ember-suave/recommended", - "./core.js" + "./ember-core.js" ], - env: { - browser: true - }, - rules: { - "ember/no-jquery": "warn", - "ember-suave/require-access-in-comments": "off" - }, overrides: [ // node files {