@santi020k/eslint-config-libraries 3.1.2 → 3.1.3

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 (2) hide show
  1. package/README.md +40 -5
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -2,10 +2,45 @@
2
2
 
3
3
  Library-specific rules for Tailwind, Storybook, AI SDKs, ORMs, and related ecosystems.
4
4
 
5
- This package is part of the [`@santi020k/eslint-config-basic`](https://github.com/santi020k/eslint-config-basic) monorepo.
5
+ [![npm version](https://img.shields.io/npm/v/@santi020k/eslint-config-libraries.svg)](https://www.npmjs.com/package/@santi020k/eslint-config-libraries)
6
+ [![npm downloads](https://img.shields.io/npm/dm/@santi020k/eslint-config-libraries.svg)](https://www.npmjs.com/package/@santi020k/eslint-config-libraries)
7
+ [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/santi020k/eslint-config-basic/blob/main/LICENSE)
6
8
 
7
- - Docs: [Libraries](https://eslint.santi020k.com/tooling/libraries)
8
- - Repository: [santi020k/eslint-config-basic](https://github.com/santi020k/eslint-config-basic)
9
- - Author: [santi020k](https://santi020k.com)
9
+ ## Installation
10
10
 
11
- The canonical documentation lives on the Starlight site, so this README intentionally stays short to avoid duplication.
11
+ ```sh
12
+ npm install -D eslint @santi020k/eslint-config-basic @santi020k/eslint-config-libraries
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ Enable only the features your project uses:
18
+
19
+ ```js
20
+ import { defineConfig } from '@santi020k/eslint-config-basic'
21
+
22
+ export default await defineConfig({
23
+ libraries: ['tailwind', 'zod']
24
+ })
25
+ ```
26
+
27
+ Supported features can also be auto-detected from the project. Installing this
28
+ package makes its libraries available to the Basic composer; it does not enable
29
+ every feature in the package.
30
+
31
+ ## Compatibility
32
+
33
+ - Node.js: `>=22.19.0`
34
+ - ESLint: `^10.0.0`
35
+ - ESM and ESLint flat config
36
+
37
+ ## Documentation
38
+
39
+ - [Libraries](https://eslint.santi020k.com/tooling/libraries)
40
+ - [Configuration guide](https://eslint.santi020k.com/guide/configuration/)
41
+ - [Package family and repository](https://github.com/santi020k/eslint-config-basic)
42
+ - [Changelog](https://github.com/santi020k/eslint-config-basic/blob/main/packages/libraries/CHANGELOG.md)
43
+
44
+ ## License
45
+
46
+ MIT © [santi020k](https://santi020k.com). See the [license](https://github.com/santi020k/eslint-config-basic/blob/main/LICENSE).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@santi020k/eslint-config-libraries",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -35,7 +35,7 @@
35
35
  "eslint-plugin-turbo": "^2.11.2",
36
36
  "eslint-plugin-vercel-ai-security": "^2.1.3",
37
37
  "eslint-plugin-zod": "^4.14.2",
38
- "@santi020k/eslint-config-core": "^3.1.2"
38
+ "@santi020k/eslint-config-core": "^3.1.3"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^26.6.2",
@@ -76,6 +76,9 @@
76
76
  "directory": "packages/libraries"
77
77
  },
78
78
  "homepage": "https://eslint.santi020k.com/tooling/libraries",
79
+ "bugs": {
80
+ "url": "https://github.com/santi020k/eslint-config-basic/issues"
81
+ },
79
82
  "license": "MIT",
80
83
  "scripts": {
81
84
  "build": "tsup",