@anolilab/lint-staged-config 3.0.38 → 3.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +53 -47
  3. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## @anolilab/lint-staged-config [3.0.40](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/lint-staged-config@3.0.39...@anolilab/lint-staged-config@3.0.40) (2025-12-11)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * remove deprecated packages and update repository URLs ([0a3d423](https://github.com/anolilab/javascript-style-guide/commit/0a3d42307102047ac98d6a0c0ce46c7dfe5a6446))
6
+ * update configuration and scripts ([5d6a44f](https://github.com/anolilab/javascript-style-guide/commit/5d6a44f99568b5f67939dfc52047fa742fd2bf58))
7
+ * update package dependencies and configurations ([94cb27e](https://github.com/anolilab/javascript-style-guide/commit/94cb27ed8989ba2c052bc6f61cd349ea9a3486d2))
8
+
9
+
10
+ ### Dependencies
11
+
12
+ * **@anolilab/eslint-config:** upgraded to 17.0.1
13
+
14
+ ## @anolilab/lint-staged-config [3.0.39](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/lint-staged-config@3.0.38...@anolilab/lint-staged-config@3.0.39) (2025-11-19)
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * **@anolilab/eslint-config:** upgraded to 16.4.4
20
+
1
21
  ## @anolilab/lint-staged-config [3.0.38](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/lint-staged-config@3.0.37...@anolilab/lint-staged-config@3.0.38) (2025-11-16)
2
22
 
3
23
  ### Bug Fixes
package/README.md CHANGED
@@ -1,12 +1,24 @@
1
- <div align="center">
1
+ <!-- START_PACKAGE_OG_IMAGE_PLACEHOLDER -->
2
+
3
+ <a href="https://github.com/anolilab/semantic-release" align="center">
4
+
5
+ <img src="__assets__/package-og.svg" alt="lint-staged-config" />
2
6
 
3
- <h1>Shareable Lint-Staged Config</h1>
7
+ </a>
4
8
 
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.
9
+ <h3 align="center">Shareable Lint-Staged Config for any project.</h3>
6
10
 
7
- And optionally for [husky](https://github.com/typicode/husky) — a popular choice for configuring git hooks.
11
+ <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
12
+
13
+ <br />
14
+
15
+ <div align="center">
8
16
 
9
- [![typescript-image]][typescript-url] [![npm-image]][npm-url] [![license-image]][license-url]
17
+ [![typescript-image][typescript-badge]][typescript-url]
18
+ [![mit licence][license-badge]][license]
19
+ [![npm downloads][npm-downloads-badge]][npm-downloads]
20
+ [![Chat][chat-badge]][chat]
21
+ [![PRs Welcome][prs-welcome-badge]][prs-welcome]
10
22
 
11
23
  </div>
12
24
 
@@ -36,39 +48,21 @@ Say goodbye to complex configurations and enjoy a smoother development experienc
36
48
 
37
49
  ## Install
38
50
 
39
- ```bash
40
- npm install --dev-save @anolilab/lint-staged-config nano-staged
41
- // or
42
- npm install --dev-save @anolilab/lint-staged-config lint-staged
43
-
44
- Optional:
45
-
46
- npm install --dev-save husky is-ci
51
+ ```sh
52
+ npm install @anolilab/lint-staged-config
47
53
  ```
48
54
 
49
55
  ```sh
50
- yarn add -D @anolilab/lint-staged-config nano-staged
51
- // or
52
- yarn add -D @anolilab/lint-staged-config lint-staged
53
-
54
- Optional:
55
-
56
- yarn add -D husky is-ci
56
+ yarn add @anolilab/lint-staged-config
57
57
  ```
58
58
 
59
59
  ```sh
60
- pnpm add -D @anolilab/lint-staged-config nano-staged
61
- // or
62
- pnpm add -D @anolilab/lint-staged-config lint-staged
63
-
64
- Optional:
65
-
66
- pnpm add -D husky is-ci
60
+ pnpm add @anolilab/lint-staged-config
67
61
  ```
68
62
 
69
63
  ## Usage
70
64
 
71
- If you dont 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`.
65
+ 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`.
72
66
 
73
67
  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`.
74
68
 
@@ -87,6 +81,7 @@ module.exports = defineConfig();
87
81
 
88
82
  export default defineConfig();
89
83
  ```
84
+
90
85
  ### Config
91
86
 
92
87
  You can configure `@anolilab/lint-staged-config` options inside the `defineConfig` function.
@@ -178,35 +173,46 @@ Our package includes a `lint-stage-config:install` command to add the `pre-commi
178
173
 
179
174
  If `commitzen` is installed, the `prepare-commit-msg` hook with predefined content will be added to your `.husky` folder.
180
175
 
176
+ ## Related
177
+
181
178
  ## Supported Node.js Versions
182
179
 
183
- Libraries in this ecosystem make the best effort to track
184
- [Node.js’ release schedule](https://nodejs.org/en/about/releases/). Here’s [a
185
- post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
180
+ Libraries in this ecosystem make the best effort to track [Node.js' release schedule](https://github.com/nodejs/release#release-schedule).
181
+
182
+ Here's [a post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
186
183
 
187
- Contributing
188
- ------------
184
+ ## Contributing
189
185
 
190
- If you would like to help take a look at the [list of issues](https://github.com/anolilab/javascript-style-guide/issues) and check our [Contributing](.github/CONTRIBUTING.md) guild.
186
+ If you would like to help take a look at the [list of issues](https://github.com/anolilab/javascript-style-guide/issues) and check our [Contributing](.github/CONTRIBUTING.md) guidelines.
191
187
 
192
188
  > **Note:** please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
193
189
 
194
- Credits
195
- -------------
190
+ ## Credits
191
+
192
+ - [Daniel Bannert](https://github.com/prisis)
193
+
194
+ - [All Contributors](https://github.com/anolilab/javascript-style-guide/graphs/contributors)
195
+
196
+ ## Made with ❤️ at Anolilab
197
+
198
+ This is an open source project and will always remain free to use. If you think it's cool, please star it 🌟. [Anolilab](https://www.anolilab.com/open-source) is a Development and AI Studio. Contact us at [hello@anolilab.com](mailto:hello@anolilab.com) if you need any help with these technologies or just want to say hi!
196
199
 
197
- - [Daniel Bannert](https://github.com/prisis)
198
- - [All Contributors](https://github.com/anolilab/javascript-style-guide/graphs/contributors)
200
+ ## License
199
201
 
200
- License
201
- -------------
202
+ The anolilab lint-staged-config is open-sourced software licensed under the [MIT][license-url]
202
203
 
203
- The anolilab javascript-style-guide is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT)
204
+ <!-- badges -->
204
205
 
205
- [typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
206
- [typescript-url]: "typescript"
207
- [license-image]: https://img.shields.io/npm/l/@anolilab/lint-staged-config?color=blueviolet&style=for-the-badge
208
- [license-url]: LICENSE.md "license"
209
- [npm-image]: https://img.shields.io/npm/v/@anolilab/lint-staged-config/latest.svg?style=for-the-badge&logo=npm
210
- [npm-url]: https://www.npmjs.com/package/@anolilab/lint-staged-config/v/latest "npm"
206
+ [license-badge]: https://img.shields.io/npm/l/@anolilab/lint-staged-config?style=for-the-badge
207
+ [license]: https://github.com/anolilab/javascript-style-guide/blob/main/LICENSE
208
+ [npm-downloads-badge]: https://img.shields.io/npm/dm/@anolilab/lint-staged-config?style=for-the-badge
209
+ [npm-downloads]: https://www.npmjs.com/package/@anolilab/lint-staged-config
210
+ [prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
211
+ [prs-welcome]: https://github.com/anolilab/javascript-style-guide/blob/main/.github/CONTRIBUTING.md
212
+ [chat-badge]: https://img.shields.io/discord/902465130518949899.svg?style=for-the-badge
213
+ [chat]: https://discord.gg/4VuvwWGaaB
214
+ [typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
215
+ [typescript-url]: https://www.typescriptlang.org/
216
+ [license-url]: https://opensource.org/licenses/MIT
211
217
  [lint-staged]: https://github.com/okonet/lint-staged
212
218
  [nano-staged]: https://github.com/usmanyunusov/nano-staged
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/lint-staged-config",
3
- "version": "3.0.38",
3
+ "version": "3.0.40",
4
4
  "description": "Shareable Lint-Staged Config for any project.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -21,7 +21,7 @@
21
21
  "homepage": "https://anolilab.com/nodejs/packages/lint-staged-config",
22
22
  "repository": {
23
23
  "type": "git",
24
- "url": "https://github.com/anolilab/javascript-style-guide.git",
24
+ "url": "git+https://github.com/anolilab/javascript-style-guide.git",
25
25
  "directory": "packages/lint-staged-config"
26
26
  },
27
27
  "funding": [
@@ -75,17 +75,17 @@
75
75
  ],
76
76
  "dependencies": {
77
77
  "@visulima/fs": "4.0.5",
78
- "@visulima/package": "^4.1.6",
78
+ "@visulima/package": "^4.1.7",
79
79
  "shell-quote": "^1.8.3",
80
- "type-fest": "^5.2.0"
80
+ "type-fest": "^5.3.1"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "eslint": "^9.39.1",
84
84
  "husky": "^8.x || ^9.x",
85
85
  "jest": "^27.x || ^28.x || ^29.0.0",
86
86
  "lint-staged": "^13.x || ^14.x|| ^15.x || ^16.x",
87
- "nano-staged": "^0.8",
88
- "prettier": "^3.6.2",
87
+ "nano-staged": "^0.9.0",
88
+ "prettier": "^3.7.4",
89
89
  "secretlint": "^7.x || ^8.x || ^10.0.0 || ^11.0.0",
90
90
  "stylelint": "^15.x || ^16.x",
91
91
  "vitest": "^1.x || ^2.x || ^3.x || ^4.0.0"