3.0.0 • Published 6 months ago

@jeromefitz/lint-staged v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@jeromefitz/lint-staged

Custom lint-staged setup that can be extended and incorporates:

  • lint-staged

Since node@22.6.0 you can call .ts directly now. Until node@24 you will want to set the following NODE_OPTIONS:

▲ export NODE_OPTIONS="--disable-warning=ExperimentalWarning"
▲ export NODE_OPTIONS="--experimental-strip-types"

With pnpm you can do that via the pnpm-workspace.yaml:

nodeOptions: '--experimental-strip-types --disable-warning=ExperimentalWarning'

lint-staged.config

import config from '@jeromefitz/lint-staged'

export default config

What It Do

Pre-commit check against files for:

  • eslint
  • prettier

And re-add if any updates were applied on auto-fix.

Git Hooks

Since lint-staged@12 passing the direct built configuration file locally to this monorepo has helped. But you should be able to call .

2.1.2

10 months ago

2.1.1

11 months ago

2.1.4

8 months ago

2.1.3

10 months ago

2.1.6

6 months ago

2.1.5

7 months ago

2.1.0

11 months ago

3.0.0

6 months ago

2.0.7

1 year ago

2.0.3

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.6

1 year ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

2.0.0-canary.1

2 years ago

1.1.11

2 years ago

1.1.11-canary.1

2 years ago

1.1.10

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.6-canary.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.1.2

3 years ago

1.1.0-canary.1

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.2-canary.1

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago

1.0.0-canary.1

4 years ago