2016-10-14 13:23:51 +03:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
parserOptions: {
|
2017-04-18 10:20:38 +03:00
|
|
|
ecmaVersion: 8,
|
2016-10-14 13:23:51 +03:00
|
|
|
sourceType: 'module'
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:ember-suave/recommended'
|
|
|
|
],
|
|
|
|
env: {
|
|
|
|
browser: true
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
indent: ['error', 4],
|
|
|
|
'space-before-function-paren': ['error', {anonymous: 'ignore', named: 'never'}],
|
|
|
|
'object-curly-spacing': ['error', 'never'],
|
|
|
|
'array-bracket-spacing': ['error', 'never'],
|
|
|
|
'key-spacing': ['error', {mode: 'minimum'}],
|
|
|
|
'keyword-spacing': ['error', {overrides: {
|
|
|
|
'catch': {'after': true}
|
|
|
|
}}],
|
|
|
|
'ember-suave/require-access-in-comments': 'off'
|
|
|
|
},
|
|
|
|
globals: {
|
|
|
|
validator: false
|
|
|
|
}
|
|
|
|
};
|