@rebilly/eslint-config 4.15.1 → 4.15.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.
- package/README.md +5 -5
- package/index.cjs +1 -5
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -19,11 +19,11 @@ module.exports = [...vueConfig];
|
|
|
19
19
|
|
|
20
20
|
## Configs
|
|
21
21
|
|
|
22
|
-
| Config | Import | Description
|
|
23
|
-
| ---------- | ----------------------------------------- |
|
|
24
|
-
| Base | `@rebilly/eslint-config` | Base config for all projects, containing generic JavaScript and Vitest
|
|
25
|
-
| TypeScript | `@rebilly/eslint-config/typescript` | TypeScript projects.
|
|
26
|
-
| Vue | `@rebilly/eslint-config/vue` | Vue 3 projects written in TypeScript.
|
|
22
|
+
| Config | Import | Description |
|
|
23
|
+
| ---------- | ----------------------------------------- | ------------------------------------------------------------------------------------- |
|
|
24
|
+
| Base | `@rebilly/eslint-config` | Base config for all projects, containing generic JavaScript and Vitest rules. |
|
|
25
|
+
| TypeScript | `@rebilly/eslint-config/typescript` | TypeScript projects. |
|
|
26
|
+
| Vue | `@rebilly/eslint-config/vue` | Vue 3 projects written in TypeScript. |
|
|
27
27
|
|
|
28
28
|
## Flat Config Format
|
|
29
29
|
|
package/index.cjs
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
const js = require('@eslint/js');
|
|
2
|
-
const cypress = require('eslint-plugin-cypress/flat');
|
|
3
2
|
const vitest = require('eslint-plugin-vitest');
|
|
4
3
|
const globals = require('globals');
|
|
5
4
|
const prettier = require('./prettier.cjs');
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Base ESLint flat config for JavaScript projects.
|
|
9
|
-
* Includes eslint:recommended,
|
|
8
|
+
* Includes eslint:recommended, and Vitest support.
|
|
10
9
|
*/
|
|
11
10
|
module.exports = [
|
|
12
11
|
js.configs.recommended,
|
|
13
|
-
cypress.configs.recommended,
|
|
14
12
|
{
|
|
15
13
|
plugins: {
|
|
16
14
|
vitest,
|
|
@@ -49,8 +47,6 @@ module.exports = [
|
|
|
49
47
|
'**/.eslintrc.js',
|
|
50
48
|
'**/.prettierrc.js',
|
|
51
49
|
'**/babel.config.js',
|
|
52
|
-
'**/cypress.config.js',
|
|
53
|
-
'**/cypress.config.ts',
|
|
54
50
|
'**/vite.config.js',
|
|
55
51
|
'**/vite.config.ts',
|
|
56
52
|
'**/vite.config.mts',
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "git+https://github.com/Rebilly/rebilly.git"
|
|
8
8
|
},
|
|
9
9
|
"main": "index.cjs",
|
|
10
|
-
"version": "4.15.
|
|
10
|
+
"version": "4.15.3",
|
|
11
11
|
"scripts": {
|
|
12
12
|
"build": "echo 'Building ESLint config'"
|
|
13
13
|
},
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"@eslint/js": "^9.39.2",
|
|
29
29
|
"eslint": "^9.39.2",
|
|
30
30
|
"eslint-config-prettier": "^10.1.8",
|
|
31
|
-
"eslint-plugin-cypress": "^5.21.0",
|
|
32
31
|
"eslint-plugin-vitest": "^0.5.4",
|
|
33
32
|
"eslint-plugin-vue": "^10.6.2",
|
|
34
33
|
"globals": "^17.0.0",
|
|
@@ -39,7 +38,6 @@
|
|
|
39
38
|
"@eslint/js": "^9.39.2",
|
|
40
39
|
"eslint": "^9.39.2",
|
|
41
40
|
"eslint-config-prettier": "^10.1.8",
|
|
42
|
-
"eslint-plugin-cypress": "^5.2.0",
|
|
43
41
|
"eslint-plugin-vitest": "^0.5.4",
|
|
44
42
|
"eslint-plugin-vue": "^10.6.2",
|
|
45
43
|
"globals": "^17.0.0",
|