Open jamesarosen opened 6 years ago
By default, ember-cli adds the following to .eslintrc.js:
.eslintrc.js
// node files { env: { browser: false, node: true, }, files: [ 'ember-cli-build.js', 'testem.js', 'blueprints/*/index.js', 'config/**/*.js', 'lib/*/index.js', ], parserOptions: { ecmaVersion: 2015, sourceType: 'script', }, },
That means the output to be copied to config/deprecation-workflow.js should have something like
config/deprecation-workflow.js
/* eslint-env browser */
or
/* globals window */
at the top.
Or, alternatively, ember-cli-deprecation-workflow should add
excludedFiles: [ 'config/deprecation-workflow.js' ],
to the relevant overrides section.
overrides
I think this implies that workflow creates the file on installation, which it could. It doesn't today.
By default, ember-cli adds the following to
.eslintrc.js
:That means the output to be copied to
config/deprecation-workflow.js
should have something likeor
at the top.
Or, alternatively, ember-cli-deprecation-workflow should add
to the relevant
overrides
section.