leverage prettier and current eslint (v9)

Description

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

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Details

Assignee

Reporter

Priority

Development Team

Vega

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 17, 2025 at 6:12 PM
Updated March 17, 2025 at 7:40 PM
TestRail: Cases
TestRail: Runs