mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
9487ff9bae
no issue - preparation for using `ember-pikaday` that utilizes `ember-cli-moment-shim` - removes usage of `moment` global - removes custom imports of `moment` and `moment-timezone` libraries
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
|
|
}
|
|
};
|