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

feat: add @nl-design-system/eslint-config #35

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

matijs
Copy link
Member

@matijs matijs commented Nov 3, 2024

Add a new package @nl-design-system/eslint-config and immediately eat our own dogfood by using it in the basis repo itself.

eslint-plugin-import was more or less replaced by
eslint-plugin-perfectionist that provides similar functionality and more.

Rename config files for tools that support importing their config instead of requiring it.

Improve lint-staged by running both prettier and eslint (and stylelint) on files that support both.

@matijs matijs requested a review from Robbert November 3, 2024 21:58
@matijs matijs force-pushed the feat/eslint-config branch from dde9ec2 to a20e0c1 Compare November 3, 2024 21:59
@matijs matijs force-pushed the feat/eslint-config branch 3 times, most recently from f32b83d to 18cfdfe Compare November 5, 2024 08:03
@matijs matijs force-pushed the feat/eslint-config branch from 18cfdfe to 7b1cf6b Compare November 5, 2024 08:06
@matijs matijs mentioned this pull request Nov 6, 2024
packages/eslint-config/eslint.config.mjs Outdated Show resolved Hide resolved
packages/eslint-config/eslint.config.mjs Outdated Show resolved Hide resolved
packages/eslint-config/package.json Outdated Show resolved Hide resolved
@matijs matijs force-pushed the feat/eslint-config branch from 7b1cf6b to 3a706ab Compare November 6, 2024 16:07
Add a new package @nl-design-system/eslint-config and immediately eat
our own dogfood by using it in the basis repo itself.

eslint-plugin-import was more or less replaced by
eslint-plugin-perfectionist that provides similar functionality and
more.

Rename config files for tools that support importing their config
instead of requiring it.

Improve lint-staged by running both prettier and eslint (and stylelint)
on files that support both.
@matijs matijs force-pushed the feat/eslint-config branch from 3a706ab to b106452 Compare November 7, 2024 07:57
@Robbert Robbert merged commit bec1e03 into main Nov 7, 2024
5 checks passed
@Robbert Robbert deleted the feat/eslint-config branch November 7, 2024 09:21
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