Summary: leverage prettier and a current eslint version (v9)
Details:
Bump the major version of eslint-config-stripes
Upgrade eslint and related packages to their current versions, e.g. eslint v9.22.0
Remove all style-related rules (they’ll be handled by prettier)
Remove project-specific rules (acquisitions.js)
Define a script named stripes-lint that consuming projects can use to invoke lint on their codebase. It should target the src directory by default, but must take an argument to choose other directories (e.g. stripes-components will need to run it against lib and hooks and util). For example, a project should be able to include eslint-config-stripes as a dev-dep and use a script entry like
Summary: leverage prettier and a current eslint version (v9)
Details:
Bump the major version of eslint-config-stripes
Upgrade eslint and related packages to their current versions, e.g. eslint v9.22.0
Remove all style-related rules (they’ll be handled by prettier)
Remove project-specific rules (acquisitions.js)
Define a script named
stripes-lint
that consuming projects can use to invoke lint on their codebase. It should target thesrc
directory by default, but must take an argument to choose other directories (e.g. stripes-components will need to run it againstlib
andhooks
andutil
). For example, a project should be able to includeeslint-config-stripes
as a dev-dep and use ascript
entry like