@anolilab/eslint-config 17.0.0 → 17.0.2
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.
- package/CHANGELOG.md +16 -0
- package/README.md +66 -37
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +4 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## @anolilab/eslint-config [17.0.2](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@17.0.1...@anolilab/eslint-config@17.0.2) (2025-12-11)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* enhance pnpm support in ESLint configuration ([fba4049](https://github.com/anolilab/javascript-style-guide/commit/fba404919a8516e3abfb79c86d3d118ac039eedf))
|
|
6
|
+
|
|
7
|
+
## @anolilab/eslint-config [17.0.1](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@17.0.0...@anolilab/eslint-config@17.0.1) (2025-12-11)
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update sonarjs rules in ESLint configuration ([54f0b7a](https://github.com/anolilab/javascript-style-guide/commit/54f0b7ac7b11b3e5b3dc094e0e7cf56bbb19c785))
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* update configuration and scripts ([5d6a44f](https://github.com/anolilab/javascript-style-guide/commit/5d6a44f99568b5f67939dfc52047fa742fd2bf58))
|
|
16
|
+
|
|
1
17
|
## @anolilab/eslint-config [17.0.0](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/eslint-config@16.4.4...@anolilab/eslint-config@17.0.0) (2025-12-10)
|
|
2
18
|
|
|
3
19
|
### Features
|
package/README.md
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
|
|
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="eslint-config" />
|
|
6
|
+
|
|
7
|
+
</a>
|
|
8
|
+
|
|
9
|
+
<h3 align="center">ESLint shareable config for the Anolilab JavaScript style guide.</h3>
|
|
2
10
|
|
|
3
|
-
|
|
11
|
+
<!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
|
|
4
12
|
|
|
5
|
-
|
|
13
|
+
<br />
|
|
14
|
+
|
|
15
|
+
<div align="center">
|
|
16
|
+
|
|
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]
|
|
6
22
|
|
|
7
23
|
</div>
|
|
8
24
|
|
|
@@ -18,6 +34,20 @@
|
|
|
18
34
|
|
|
19
35
|
---
|
|
20
36
|
|
|
37
|
+
## Install
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
npm install @anolilab/eslint-config
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
yarn add @anolilab/eslint-config
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
pnpm add @anolilab/eslint-config
|
|
49
|
+
```
|
|
50
|
+
|
|
21
51
|
## Purpose
|
|
22
52
|
|
|
23
53
|
Our package serves as a valuable resource for JavaScript/Typescript-based projects, offering composable [ESLint](https://eslint.org/) configurations. It encompasses a range of features, including performance optimization and the flexibility to extend pre-defined base configurations. We aim to provide a strong, opinionated foundation for code quality and consistency, while still allowing for customization to suit specific project needs.
|
|
@@ -51,22 +81,6 @@ Our package serves as a valuable resource for JavaScript/Typescript-based projec
|
|
|
51
81
|
- Easily configure stylistic preferences like indent and semicolon without deep diving into rule configurations.
|
|
52
82
|
- Works alongside Prettier: Our configuration disables ESLint rules that would conflict with Prettier, allowing ESLint to focus on code quality and Prettier on formatting if you choose to use both. However, many stylistic rules are included and can be enforced by ESLint directly.
|
|
53
83
|
|
|
54
|
-
## Install
|
|
55
|
-
|
|
56
|
-
To install this config, run the following command.
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
npm install --save-dev eslint @anolilab/eslint-config
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
```sh
|
|
63
|
-
pnpm add -D eslint @anolilab/eslint-config
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
```sh
|
|
67
|
-
yarn add -D eslint @anolilab/eslint-config
|
|
68
|
-
```
|
|
69
|
-
|
|
70
84
|
## Usage
|
|
71
85
|
|
|
72
86
|
Our default export is designed to be used within ESLint's flat configuration system (e.g., `eslint.config.js`). It contains a comprehensive set of ESLint rules, suitable for modern ECMAScript (ES2021+ by default) and TypeScript projects.
|
|
@@ -630,34 +644,49 @@ Don't you remember how ESLint defeated JSHint and became the most popular JS cod
|
|
|
630
644
|
|
|
631
645
|
Therefore, `@anolilab/eslint-config` also inherits the philosophy of ESLint. It will not force you to use our config.
|
|
632
646
|
|
|
647
|
+
## Related
|
|
648
|
+
|
|
633
649
|
## Supported Node.js Versions
|
|
634
650
|
|
|
635
|
-
Libraries in this ecosystem make the best effort to track
|
|
636
|
-
|
|
637
|
-
post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
|
|
651
|
+
Libraries in this ecosystem make the best effort to track [Node.js' release schedule](https://github.com/nodejs/release#release-schedule).
|
|
652
|
+
|
|
653
|
+
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).
|
|
638
654
|
|
|
639
655
|
## Contributing
|
|
640
656
|
|
|
641
|
-
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)
|
|
657
|
+
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.
|
|
642
658
|
|
|
643
659
|
> **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.
|
|
644
660
|
|
|
645
661
|
## Credits
|
|
646
662
|
|
|
647
|
-
-
|
|
648
|
-
- [All Contributors](https://github.com/anolilab/javascript-style-guide/graphs/contributors)
|
|
649
|
-
- Inspired by and thankful for the work in configurations like:
|
|
650
|
-
- [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb)
|
|
651
|
-
- [eslint-config-canonical](https://github.com/gajus/eslint-config-canonical)
|
|
652
|
-
- [@antfu/eslint-config](https://github.com/antfu/eslint-config) (for its modern approach and clear documentation)
|
|
663
|
+
- [Daniel Bannert](https://github.com/prisis)
|
|
653
664
|
|
|
654
|
-
|
|
665
|
+
- [All Contributors](https://github.com/anolilab/javascript-style-guide/graphs/contributors)
|
|
655
666
|
|
|
656
|
-
|
|
667
|
+
- Inspired by and thankful for the work in configurations like:
|
|
668
|
+
- [eslint-config-airbnb](https://www.npmjs.com/package/eslint-config-airbnb)
|
|
669
|
+
- [eslint-config-canonical](https://github.com/gajus/eslint-config-canonical)
|
|
670
|
+
- [@antfu/eslint-config](https://github.com/antfu/eslint-config) (for its modern approach and clear documentation)
|
|
671
|
+
|
|
672
|
+
## Made with ❤️ at Anolilab
|
|
673
|
+
|
|
674
|
+
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!
|
|
675
|
+
|
|
676
|
+
## License
|
|
657
677
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
[
|
|
663
|
-
[
|
|
678
|
+
The anolilab eslint-config is open-sourced software licensed under the [MIT][license-url]
|
|
679
|
+
|
|
680
|
+
<!-- badges -->
|
|
681
|
+
|
|
682
|
+
[license-badge]: https://img.shields.io/npm/l/@anolilab/eslint-config?style=for-the-badge
|
|
683
|
+
[license]: https://github.com/anolilab/javascript-style-guide/blob/main/LICENSE
|
|
684
|
+
[npm-downloads-badge]: https://img.shields.io/npm/dm/@anolilab/eslint-config?style=for-the-badge
|
|
685
|
+
[npm-downloads]: https://www.npmjs.com/package/@anolilab/eslint-config
|
|
686
|
+
[prs-welcome-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge
|
|
687
|
+
[prs-welcome]: https://github.com/anolilab/javascript-style-guide/blob/main/.github/CONTRIBUTING.md
|
|
688
|
+
[chat-badge]: https://img.shields.io/discord/902465130518949899.svg?style=for-the-badge
|
|
689
|
+
[chat]: https://discord.gg/4VuvwWGaaB
|
|
690
|
+
[typescript-badge]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
|
|
691
|
+
[typescript-url]: https://www.typescriptlang.org/
|
|
692
|
+
[license-url]: https://opensource.org/licenses/MIT
|