@mikey-pro/eslint-config 9.0.1 → 9.0.6
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/package.json +1 -1
- package/rules.js +0 -1
- package/README.md +0 -43
package/package.json
CHANGED
package/rules.js
CHANGED
package/README.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<div width="100%" align="center">
|
|
2
|
-
<h1>
|
|
3
|
-
<a href="https://github.com/chiefmikey/mikey-pro">
|
|
4
|
-
<b>Mikey Pro</b>
|
|
5
|
-
</a>
|
|
6
|
-
</h1>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
## **@mikey-pro/eslint-config**
|
|
10
|
-
|
|
11
|
-
A preset ESLint configuration
|
|
12
|
-
|
|
13
|
-
## Usage
|
|
14
|
-
|
|
15
|
-
### Install
|
|
16
|
-
|
|
17
|
-
```shell
|
|
18
|
-
npm i -D mikey-pro
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Configure (Flat ESLint v9+ Recommended)
|
|
22
|
-
|
|
23
|
-
Create / update `eslint.config.js`:
|
|
24
|
-
|
|
25
|
-
```js
|
|
26
|
-
import mikeyPro from '@mikey-pro/eslint-config/flat';
|
|
27
|
-
|
|
28
|
-
export default mikeyPro;
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Legacy Configuration (still supported)
|
|
32
|
-
|
|
33
|
-
Extend in `package.json` (deprecated style):
|
|
34
|
-
|
|
35
|
-
```json
|
|
36
|
-
{
|
|
37
|
-
"eslintConfig": {
|
|
38
|
-
"extends": ["@mikey-pro/eslint-config"]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
Both configurations are kept semantically equivalent; the legacy form will be removed in a future major release.
|