@bitfactory/eslint-config 5.1.0 → 5.1.1
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/README.md +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,6 +54,23 @@ Before publishing a new version:
|
|
|
54
54
|
|
|
55
55
|
> The files `.eslintrc.cjs` and `eslint.config.js` are provided for local development and testing only. They are not included in the published npm package and are not intended for consumer use. Consumers of this package should use the shareable config files (`index.(m)js`, `typescript.(m)js`, `vue.(m)js`, etc.) as described in the usage instructions.
|
|
56
56
|
|
|
57
|
+
### Debugging ESLint Configuration
|
|
58
|
+
|
|
59
|
+
For debugging ESLint configuration issues, rule conflicts, or understanding config behavior, use the official ESLint Config Inspector:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npx @eslint/config-inspector
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Use cases:**
|
|
66
|
+
|
|
67
|
+
- Debug rule conflicts and understand which rules are active
|
|
68
|
+
- Visualize how configs apply to different file patterns
|
|
69
|
+
- Help consumers troubleshoot configuration issues
|
|
70
|
+
- Generate visual documentation of rule sets
|
|
71
|
+
|
|
72
|
+
The inspector provides a web interface showing all active rules, plugins, and file matching patterns for your ESLint configuration.
|
|
73
|
+
|
|
57
74
|
## :package: Installing
|
|
58
75
|
|
|
59
76
|
Include the config into your project:
|