lint-rules-alvin 2.0.7 → 2.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/.vscode/settings.json +0 -0
- package/.zed/settings.json +9 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/eslint/configs/astro.ts +0 -0
- package/eslint/configs/base.ts +0 -0
- package/eslint/configs/custom.ts +0 -0
- package/eslint/configs/importX.ts +0 -0
- package/eslint/configs/json.ts +0 -0
- package/eslint/configs/markdown.ts +3 -3
- package/eslint/configs/reactHooks.ts +0 -0
- package/eslint/configs/stylistic.ts +0 -0
- package/eslint/configs/sveltekit.ts +0 -0
- package/eslint/configs/typescript.ts +0 -0
- package/eslint/custom_rules/destructure-newline.ts +0 -0
- package/eslint/custom_rules/jsx-multiline-prop-newline.ts +0 -0
- package/eslint/custom_rules/max-chain-per-line.ts +0 -0
- package/eslint/custom_rules/multiline-array-accessor-newline.ts +0 -0
- package/eslint/custom_rules/multiline-paren-newline.ts +0 -0
- package/eslint/custom_rules/newline-between-imports.ts +0 -0
- package/eslint/custom_rules/unnamed-imports-last.ts +0 -0
- package/eslint/presets/astroReactPreset.ts +0 -0
- package/eslint/presets/sveltekitPreset.ts +0 -0
- package/eslint.config.ts +0 -0
- package/package.json +11 -5
- package/test/eslint/destructure-newline.test.ts +0 -0
- package/test/eslint/jsx-multiline-prop-newline.test.ts +0 -0
- package/test/eslint/max-chain-per-line.test.ts +0 -0
- package/test/eslint/multiline-array-accessor-newline.test.ts +0 -0
- package/test/eslint/multiline-paren-newline.test.ts +0 -0
- package/test/eslint/newline-between-imports.test.ts +0 -0
- package/test/eslint/test-bootstrap.mjs +0 -0
- package/test/eslint/unnamed-imports-last.test.ts +0 -0
- package/tsconfig.json +0 -0
- package/tsconfig.test.json +0 -0
package/.vscode/settings.json
CHANGED
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/eslint/configs/astro.ts
CHANGED
|
File without changes
|
package/eslint/configs/base.ts
CHANGED
|
File without changes
|
package/eslint/configs/custom.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/eslint/configs/json.ts
CHANGED
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TSESLint } from '@typescript-eslint/utils';
|
|
2
|
-
import eslintPluginMarkdown from 'eslint
|
|
2
|
+
import eslintPluginMarkdown from '@eslint/markdown';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The ESLint markdown config. Extends `configs.recommended` only for `md` files.
|
|
6
6
|
*/
|
|
7
7
|
export const markdown: TSESLint.FlatConfig.Config = {
|
|
8
|
+
...eslintPluginMarkdown.configs.recommended[0],
|
|
8
9
|
name: 'eslint-plugin-markdown',
|
|
9
|
-
files: [ '**/*.
|
|
10
|
-
...eslintPluginMarkdown.configs.recommended
|
|
10
|
+
files: [ '**/*.md' ]
|
|
11
11
|
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/eslint.config.ts
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lint-rules-alvin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "My own personal linting ruleset for a bunch of different plugins. Includes a few custom rules. Used in a few of my repos.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@eslint/compat": "^1.4.0",
|
|
28
28
|
"@eslint/js": "^9.37.0",
|
|
29
|
+
"@eslint/markdown": "^7.5.1",
|
|
29
30
|
"@stylistic/eslint-plugin": "^5.4.0",
|
|
30
|
-
"@types/eslint-plugin-markdown": "^2.0.2",
|
|
31
31
|
"@types/estree": "^1.0.8",
|
|
32
32
|
"@types/mocha": "^10.0.10",
|
|
33
33
|
"@types/node": "^24.8.1",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"eslint-plugin-astro": "^1.3.1",
|
|
42
42
|
"eslint-plugin-import-x": "^4.16.1",
|
|
43
43
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
44
|
-
"eslint-plugin-markdown": "^5.1.0",
|
|
45
44
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
46
45
|
"eslint-plugin-svelte": "^3.12.4",
|
|
46
|
+
"eslint-plugin-vue": "^10.6.2",
|
|
47
47
|
"globals": "^16.4.0",
|
|
48
48
|
"jiti": "^2.6.1",
|
|
49
49
|
"mocha": "^11.7.4",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@eslint/compat": "^1.4.0",
|
|
56
56
|
"@eslint/js": "^9.37.0",
|
|
57
|
+
"@eslint/markdown": "^7.5.1",
|
|
57
58
|
"@stylistic/eslint-plugin": "^5.4.0",
|
|
58
|
-
"@types/eslint-plugin-markdown": "^2.0.2",
|
|
59
59
|
"@types/estree": "^1.0.8",
|
|
60
60
|
"@types/node": "^24.8.1",
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"eslint-plugin-astro": "^1.3.1",
|
|
68
68
|
"eslint-plugin-import-x": "^4.16.1",
|
|
69
69
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
70
|
-
"eslint-plugin-markdown": "^5.1.0",
|
|
71
70
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
72
71
|
"eslint-plugin-svelte": "^3.12.4",
|
|
72
|
+
"eslint-plugin-vue": "^10.6.2",
|
|
73
73
|
"globals": "^16.4.0",
|
|
74
74
|
"svelte": "^5.40.2",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
@@ -131,6 +131,9 @@
|
|
|
131
131
|
"eslint-plugin-svelte": {
|
|
132
132
|
"optional": true
|
|
133
133
|
},
|
|
134
|
+
"eslint-plugin-vue": {
|
|
135
|
+
"optional": true
|
|
136
|
+
},
|
|
134
137
|
"globals": {
|
|
135
138
|
"optional": true
|
|
136
139
|
},
|
|
@@ -147,5 +150,8 @@
|
|
|
147
150
|
"scripts": {
|
|
148
151
|
"test": "npm run test:eslint",
|
|
149
152
|
"test:eslint": "node --no-warnings --import ./test/eslint/test-bootstrap.mjs ./node_modules/mocha/bin/mocha --extensions ts --recursive \"test/**/*.test.ts\""
|
|
153
|
+
},
|
|
154
|
+
"dependencies": {
|
|
155
|
+
"lint-rules-alvin": "^2.0.7"
|
|
150
156
|
}
|
|
151
157
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/tsconfig.json
CHANGED
|
File without changes
|
package/tsconfig.test.json
CHANGED
|
File without changes
|