You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/lint-staged-config/README.md
+43-15
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
<h1>Shareable Lint-Staged Config</h1>
4
4
5
-
Package that contains shareable configuration for [lint-staged](https://github.com/okonet/lint-staged) — a popular tool for running linters on staged Git files.
5
+
Package that contains shareable configuration for [lint-staged][lint-staged] / [nano-staged][nano-staged] — a popular tool for running linters on staged Git files.
6
6
7
7
And optionally for [husky](https://github.com/typicode/husky) — a popular choice for configuring git hooks.
8
8
@@ -24,19 +24,21 @@ And optionally for [husky](https://github.com/typicode/husky) — a popular choi
24
24
25
25
Simplify your project setup with our comprehensive collection of preconfigured configuration files.
26
26
Designed for effortless integration, these ready-to-use files can be seamlessly imported into your projects.
27
-
These functions streamline the utilization of [lint-staged](https://github.com/okonet/lint-staged) alongside popular tools such as [ESLint](https://eslint.org), [Prettier](https://prettier.io), [StyleLint](https://stylelint.io) and [SecretLint](https://github.com/secretlint/secretlint).
27
+
These functions streamline the utilization of [lint-staged][lint-staged] / [nano-staged][nano-staged] alongside popular tools such as [ESLint](https://eslint.org), [Prettier](https://prettier.io), [StyleLint](https://stylelint.io) and [SecretLint](https://github.com/secretlint/secretlint).
28
28
29
29
Say goodbye to complex configurations and enjoy a smoother development experience with our all-inclusive package.
30
30
31
31
## Purpose
32
32
33
-
- Enhance your development workflow with hassle-free and readily shareable lint-staged configuration files.
33
+
- Enhance your development workflow with hassle-free and readily shareable lint-staged / nano-staged configuration files.
34
34
- These files empower developers to maintain a uniform coding style and detect prevalent errors even before they are added to the source control system.
35
35
- Additionally, our inclusive helper module offers convenient utility functions that seamlessly integrate lint-staged with popular linting and formatting tools.
If you don’t have a `.lintstagedrc.js`, we will create the file for you after installing `@anolilab/lint-staged-config`.
71
+
If you don’t have a `.lintstagedrc.js` or `.nano-staged.js`, we can create the file for you after installing `@anolilab/lint-staged-config`, call `pnpm lint-stage-config:install`.
66
72
67
-
If you already have a `.lintstagedrc.js`, then you can extend the `.lintstagedrc.js`, with `@anolilab/lint-staged-config`.
73
+
If you already have a `.lintstagedrc.js` or `.nano-staged.js`, then you can extend the `.lintstagedrc.js` or `.nano-staged.js`, with `@anolilab/lint-staged-config`.
68
74
69
-
> Note: If the script detects an existing `.lintstagedrc.js` file, it will not overwrite it.
75
+
> Note: If the script detects an existing `.lintstagedrc.js`or `.nano-staged.js`file, it will not overwrite it.
70
76
71
-
> Note: It can happen that the postinstall script don't run, then you have to add the `.lintstagedrc.js` manually.
72
-
73
-
The content of the `.lintstagedrc.js` should look like this:
77
+
The content of the `.lintstagedrc.js` or `.nano-staged.js` should look like this:
0 commit comments