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

refactor: add eslint rules to enforce import order #671

Merged
merged 2 commits into from
Oct 29, 2021

Conversation

piotr-oles
Copy link
Collaborator

It's part 1 of the bigger effort from #670. This PR doesn't change any logic - only re-formats imports and removes 1 dependency cycle by adding pluginPools.ts file

@piotr-oles piotr-oles self-assigned this Oct 23, 2021
SolutionBuilder API is buggy for TypeScript < 3.8.0. To reduce
maintenance burden, we bump minimal TypeScript version for { build: true
} mode to 3.8.0.

BREAKING CHANGE: 🧨 Minimal version of TypeScript with { build: true } mode changed from
3.6.0 to 3.8.0
We want to check for cycle-dependencies to prevent bugs that are not
detected by TypeScript type checks. We want also to tag type-only
profiles with "import type" annotation to gain visibility.
@piotr-oles piotr-oles force-pushed the feature/add-import-rules-to-eslint branch from 2483c23 to 51ab607 Compare October 23, 2021 21:27
@piotr-oles piotr-oles changed the base branch from alpha to fix/bump-minimal-version-of-typescript-for-build-mode October 23, 2021 21:27
Base automatically changed from fix/bump-minimal-version-of-typescript-for-build-mode to alpha October 24, 2021 17:22
@piotr-oles piotr-oles merged commit a0ad06f into alpha Oct 29, 2021
@piotr-oles piotr-oles deleted the feature/add-import-rules-to-eslint branch October 29, 2021 17:49
@piotr-oles
Copy link
Collaborator Author

🎉 This PR is included in version 7.0.0-alpha.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

piotr-oles added a commit that referenced this pull request Jan 29, 2022
* feat: use simple program for single compilation (no watch) (#574)

Use simple ts.Program and ts.CompilerHost when running webpack in
non-watch mode. This can improve check time in CI for some cases.

BREAKING CHANGE: 🧨 Use ts.Program and ts.CompilerHost for single compilation by default

✅ Closes: #572

* feat: remove eslint support (#607)

BREAKING CHANGE: 🧨 ESLint no longer supported by the plugin

* chore: merge main changes (#619)

* test: use karton for e2e tests (#627)

Use external package to handle e2e tests to simplify code base

* feat: drop support for webpack 4 (#638)

BREAKING CHANGE: 🧨 Webpack 4 is no longer supported. Please upgrade to Webpack ^5.11.0 or use an older version of the plugin.

* feat: improve error formatting to match webpack 4 convention (#641)

* feat: upgrade dependencies

Upgrade dependencies that doesn't require Node version bump.

* chore: remove unused dependencies

* feat: drop support for node 10

Node 10 is no longer maintained

BREAKING CHANGE: 🧨 Require Node.js >= 12

* chore: upgrade dev dependencies

* feat: remove support for TypeScript < 3.6.0 (#643)

BREAKING CHANGE: 🧨 Drop support for TypeScript < 3.6.0

* feat: port changes from main branch (#649)

This commit contains fixes from the main branch

* fix: require typescript@^3.8.0 for build: true mode (#672)

SolutionBuilder API is buggy for TypeScript < 3.8.0. To reduce maintenance burden, we bump minimal TypeScript version for { build: true } mode to 3.8.0.

BREAKING CHANGE: 🧨 Minimal version of TypeScript with { build: true } mode changed from 3.6.0 to 3.8.0

* refactor: add eslint rules to enforce import order (#671)

* feat: migrate from reporters to workers (#691)

Use simple functions and modules to simplify worker code

* refactor: rename files to match convention (#693)

I found snake-case easier to read, and given that
the project doesn't use OOP a lot, having all PascalCase
names doesn't reflect the paradigm and feels unnatural.

* feat: simplify logger options (#695)

Currently, the logger options are overcomplicated. To simplify them, we
are removing logger.infrastructure option.

BREAKING CHANGE: 🧨 Changes in options: `logger.issues` becomes `logger`, `logger.devServer`
becomes `devServer`, `logger.infrastructure` has been removed

* docs: add plugin logo (#696)

* refactor: upgrade project dependencies (#698)
@piotr-oles
Copy link
Collaborator Author

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant