5e574946fb
* Update dependency eslint to v7 * Fixed linting errors Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
27 lines
619 B
JavaScript
27 lines
619 B
JavaScript
/* eslint-env node */
|
|
module.exports = {
|
|
root: true,
|
|
parser: 'babel-eslint',
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
ecmaFeatures: {
|
|
legacyDecorators: true
|
|
}
|
|
},
|
|
plugins: [
|
|
'ghost'
|
|
],
|
|
extends: [
|
|
'plugin:ghost/ember'
|
|
],
|
|
rules: {
|
|
// disable linting of `this.get` until there's a reliable autofix
|
|
'ghost/ember/use-ember-get-and-set': 'off',
|
|
|
|
// disable linting of mixins until we migrate away
|
|
'ghost/ember/no-mixins': 'off',
|
|
'ghost/ember/no-new-mixins': 'off'
|
|
}
|
|
};
|