Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Commit

Permalink
data: Use shared ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Nov 8, 2018
1 parent d86534a commit d367aa7
Showing 1 changed file with 1 addition and 45 deletions.
46 changes: 1 addition & 45 deletions packages/data/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,4 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
plugins: [
'ember'
],
extends: [
'eslint:recommended',
'plugin:ember/recommended'
],
env: {
browser: true
},
rules: {
},
overrides: [
// node files
{
files: [
'index.js',
'testem.js',
'ember-cli-build.js',
'config/**/*.js',
'tests/dummy/config/**/*.js'
],
excludedFiles: [
'app/**',
'addon/**',
'tests/dummy/app/**'
],
parserOptions: {
sourceType: 'script',
ecmaVersion: 2015
},
env: {
browser: false,
node: true
},
plugins: ['node'],
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
// add your custom rules and overrides for node files here
})
}
]
extends: '@cardstack/eslint-config/browser',
};

0 comments on commit d367aa7

Please sign in to comment.