Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: reconfigure ESLint again, move prettier to monorepo root #4080

Merged
merged 2 commits into from
Apr 21, 2020

Conversation

adidahiya
Copy link
Contributor

@adidahiya adidahiya commented Apr 21, 2020

In hindsight, it was a little weird having the blueprint eslint-config configure prettier, especially as we're moving towards running it as a separate CLI task in CI environments.

This PR removes the eslint-config-prettier and eslint-plugin-prettier dependencies from @blueprintjs/eslint-config and adds them to the monorepo root, where they are easily configured in a few lines in .eslintrc.js depending on whether we are in a CI environment or not.

This PR also changes @blueprint/eslint-config so that it can lint itself and other .js node script modules. We now use the standard EStree parser for these files and set the correct ES version and environment.

@blueprint-bot
Copy link

chore: reconfigure ESLint again, move prettier to monorepo root

Previews: documentation | landing | table

@blueprint-bot
Copy link

set eslint env correctly, run it on build script sources

Previews: documentation | landing | table

@adidahiya adidahiya merged commit f4e58c6 into develop Apr 21, 2020
@adidahiya adidahiya deleted the ad/tweak-prettier branch April 21, 2020 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants