mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
29 lines
752 B
JavaScript
29 lines
752 B
JavaScript
|
module.exports = {
|
||
|
root: true,
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 6,
|
||
|
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
|
||
|
}
|
||
|
};
|