2017-05-29 21:50:03 +03:00
|
|
|
/* eslint-env node */
|
2016-10-14 13:23:51 +03:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2019-12-13 18:15:06 +03:00
|
|
|
parser: 'babel-eslint',
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 2018,
|
|
|
|
sourceType: 'module',
|
|
|
|
ecmaFeatures: {
|
|
|
|
legacyDecorators: true
|
|
|
|
}
|
|
|
|
},
|
2017-05-29 21:50:03 +03:00
|
|
|
plugins: [
|
2018-01-05 18:38:23 +03:00
|
|
|
'ghost'
|
|
|
|
],
|
|
|
|
extends: [
|
|
|
|
'plugin:ghost/ember'
|
2017-05-29 21:50:03 +03:00
|
|
|
],
|
2016-10-14 13:23:51 +03:00
|
|
|
rules: {
|
2018-01-05 18:38:23 +03:00
|
|
|
// disable linting of `this.get` until there's a reliable autofix
|
2020-01-16 20:01:12 +03:00
|
|
|
'ghost/ember/use-ember-get-and-set': 'off',
|
|
|
|
|
|
|
|
// disable linting of mixins until we migrate away
|
2020-05-06 20:06:42 +03:00
|
|
|
'ghost/ember/no-mixins': 'off',
|
2020-01-16 20:01:12 +03:00
|
|
|
'ghost/ember/no-new-mixins': 'off'
|
2016-10-14 13:23:51 +03:00
|
|
|
}
|
|
|
|
};
|