Skip to content

chore: update linting configuration#101

Merged
chriskrycho merged 5 commits intomasterfrom
update-lint-config
Oct 26, 2021
Merged

chore: update linting configuration#101
chriskrycho merged 5 commits intomasterfrom
update-lint-config

Conversation

@chriskrycho
Copy link
Copy Markdown
Contributor

@chriskrycho chriskrycho commented Oct 26, 2021

  • Update all lint-related dependencies. This includes ember-cli-babel and ember-cli-typescript, so that we can do the next point.
  • Use an explicit babel.config.js so that @babel/eslint-parser works.
  • Fix the lint errors identified after updates.

@chriskrycho chriskrycho force-pushed the update-lint-config branch 3 times, most recently from 259b025 to d0707ca Compare October 26, 2021 21:13
- Update all lint-related dependencies. This includes `ember-cli-babel`
  and `ember-cli-typescript`, so that we can do the *next* point.
- Use an explicit `babel.config.js` so that @babel/eslint-parser works.
  - Add `@babel/preset-env` and `@babel/preset-typescript` as explicit
    dependencies and configure them.
  - Update how Babel is integrated into the build pipeline.
- Fix the lint errors identified after updates.
@chriskrycho chriskrycho added the dependencies Pull requests that update a dependency file label Oct 26, 2021
@chriskrycho chriskrycho merged commit 3c65f95 into master Oct 26, 2021
@chriskrycho chriskrycho deleted the update-lint-config branch October 26, 2021 23:43
chriskrycho added a commit that referenced this pull request Jan 24, 2022
Related to #101 and #102. Bumping to latest Embroider internals exposed
some further issue with Babel grabbing the `babel.config.js` used to
configure ESLint via `@babel/eslint-parser`. This is a temporary
workaround to unblock CI to work more generally, and which is "fine"
for now because we don't actually have any unusual syntax in this repo.
We will need to do *some* work upstream to finish fixing that more
generally for the ecosystem as a whole, though.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file internal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants