@eik/eslint-config 1.0.0 → 1.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/README.md +11 -2
- package/lib/base.js +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -10,16 +10,25 @@ npm install --save-dev eslint @eik/eslint-config
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Create and add this to `eslint.config.js`:
|
|
14
14
|
|
|
15
15
|
```js
|
|
16
|
-
|
|
16
|
+
import config from "@eik/eslint-config";
|
|
17
|
+
|
|
18
|
+
export default config;
|
|
19
|
+
```
|
|
17
20
|
|
|
21
|
+
The default config should cover most needs, but you can extend or override if you need to.
|
|
22
|
+
|
|
23
|
+
```js
|
|
18
24
|
import config from "@eik/eslint-config";
|
|
19
25
|
|
|
20
26
|
export default [
|
|
21
27
|
...config,
|
|
22
28
|
/* Your customisations */
|
|
29
|
+
{
|
|
30
|
+
ignores: [".docusaurus/*"],
|
|
31
|
+
},
|
|
23
32
|
];
|
|
24
33
|
```
|
|
25
34
|
|
package/lib/base.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eik/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Shared ESLint config for Eik modules",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,9 +39,13 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"eslint-config-prettier": "9.1.0",
|
|
41
41
|
"eslint-plugin-prettier": "5.2.1",
|
|
42
|
-
"globals": "15.
|
|
42
|
+
"globals": "15.9.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"
|
|
45
|
+
"@eik/prettier-config": "1.0.1",
|
|
46
|
+
"@eik/semantic-release-config": "1.0.0",
|
|
47
|
+
"eslint": "9.8.0",
|
|
48
|
+
"prettier": "3.3.3",
|
|
49
|
+
"semantic-release": "24.0.0"
|
|
46
50
|
}
|
|
47
51
|
}
|