@mikey-pro/eslint-config 10.0.4 → 10.2.0
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 +15 -29
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,48 +1,34 @@
|
|
|
1
1
|
# @mikey-pro/eslint-config
|
|
2
2
|
|
|
3
|
-
Core ESLint
|
|
3
|
+
Core ESLint 10 flat config — 25+ plugins for code quality, security, and formatting.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
**Recommended:** Install `mikey-pro` instead for the full suite (ESLint + Prettier + Stylelint):
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install
|
|
8
|
+
npm install --save-dev mikey-pro
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Standalone Install
|
|
12
12
|
|
|
13
|
-
```
|
|
13
|
+
```bash
|
|
14
|
+
npm install --save-dev @mikey-pro/eslint-config
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
```js
|
|
14
18
|
// eslint.config.js
|
|
15
19
|
export { default } from '@mikey-pro/eslint-config';
|
|
16
20
|
```
|
|
17
21
|
|
|
18
22
|
## Features
|
|
19
23
|
|
|
20
|
-
-
|
|
21
|
-
- TypeScript
|
|
22
|
-
- Security
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
- Auto-fixable formatting rules
|
|
24
|
+
- 25+ ESLint plugins for comprehensive code quality
|
|
25
|
+
- TypeScript strict mode with project-aware rules
|
|
26
|
+
- Security, performance, and import organization rules
|
|
27
|
+
- Prettier integration for formatting
|
|
28
|
+
- noInlineConfig enabled — disable comments are blocked
|
|
26
29
|
|
|
27
30
|
## Supported File Types
|
|
28
31
|
|
|
29
|
-
JavaScript, TypeScript, JSON, YAML, TOML, HTML, CSS, SCSS,
|
|
30
|
-
|
|
31
|
-
## Customization
|
|
32
|
-
|
|
33
|
-
```javascript
|
|
34
|
-
// eslint.config.js
|
|
35
|
-
import { default as baseConfig } from '@mikey-pro/eslint-config';
|
|
36
|
-
|
|
37
|
-
export default [
|
|
38
|
-
...baseConfig,
|
|
39
|
-
{
|
|
40
|
-
files: ['**/*.test.{js,ts}'],
|
|
41
|
-
rules: {
|
|
42
|
-
'no-console': 'off',
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
];
|
|
46
|
-
```
|
|
32
|
+
JavaScript, TypeScript, JSON, YAML, TOML, HTML, CSS, SCSS, Markdown
|
|
47
33
|
|
|
48
34
|
See [Mikey Pro](https://github.com/chiefmikey/mikey-pro) for full documentation.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.2.0",
|
|
4
4
|
"description": "Mikey Pro ESLint configuration - Ultimate coding style guide for excellence",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
"@html-eslint/parser": "^0.57.1",
|
|
13
13
|
"@typescript-eslint/eslint-plugin": "^8.56.1",
|
|
14
14
|
"@typescript-eslint/parser": "^8.56.1",
|
|
15
|
-
"eslint": "^10.0.2",
|
|
16
15
|
"eslint-plugin-boundaries": "^5.4.0",
|
|
17
16
|
"eslint-plugin-compat": "^7.0.1",
|
|
18
17
|
"eslint-plugin-cypress": "^6.1.0",
|
|
@@ -37,11 +36,14 @@
|
|
|
37
36
|
"eslint-plugin-yml": "^3.3.0",
|
|
38
37
|
"globals": "^17.4.0",
|
|
39
38
|
"jsonc-eslint-parser": "^3.1.0",
|
|
40
|
-
"prettier": ">=3.0.0",
|
|
41
39
|
"toml-eslint-parser": "^1.0.3",
|
|
42
40
|
"typescript": "^5.9.3",
|
|
43
41
|
"yaml-eslint-parser": "^2.0.0"
|
|
44
42
|
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"eslint": "^10.0.0",
|
|
45
|
+
"prettier": ">=3.0.0"
|
|
46
|
+
},
|
|
45
47
|
"peerDependenciesMeta": {
|
|
46
48
|
"typescript": {
|
|
47
49
|
"optional": true
|