linted 16.5.0 → 16.6.0-rc.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
CHANGED
@@ -7,11 +7,11 @@ ___DO NOT USE - DOCUMENTATION IS SIGNIFICANTLY OUTDATED AS OF AUGUST 4, 2024___
|
|
7
7
|
[ESLint](https://eslint.org) mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.
|
8
8
|
|
9
9
|
1. [Languages](#languages)
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
2. [Features](#features)
|
11
|
+
3. [Limitation](#limitation)
|
12
|
+
4. [Install](#install)
|
13
|
+
5. [Roadmap](#roadmap)
|
14
|
+
6. [Rule Logic (Advanced)](#rule-logic-advanced)
|
15
15
|
|
16
16
|
## Languages
|
17
17
|
|
@@ -189,9 +189,9 @@ tsc --skipLibCheck
|
|
189
189
|
npm i -D eslint@^8.57 linted
|
190
190
|
```
|
191
191
|
|
192
|
-
|
192
|
+
2. Create `eslint.config.js` in your project root.
|
193
193
|
|
194
|
-
|
194
|
+
3. In `eslint.config.js`:
|
195
195
|
- Import function `linted`.
|
196
196
|
|
197
197
|
```javascript
|
@@ -9,14 +9,14 @@ declare const _default: {
|
|
9
9
|
readonly svelte: {
|
10
10
|
meta: typeof import("eslint-plugin-svelte/lib/meta.js");
|
11
11
|
configs: {
|
12
|
-
base: import("eslint").Linter.
|
13
|
-
recommended: import("eslint").Linter.
|
14
|
-
prettier: import("eslint").Linter.
|
15
|
-
all: import("eslint").Linter.
|
16
|
-
"flat/base": import("eslint").Linter.
|
17
|
-
"flat/recommended": import("eslint").Linter.
|
18
|
-
"flat/prettier": import("eslint").Linter.
|
19
|
-
"flat/all": import("eslint").Linter.FlatConfig
|
12
|
+
base: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
13
|
+
recommended: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
14
|
+
prettier: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
15
|
+
all: import("eslint").Linter.LegacyConfig<import("eslint").Linter.RulesRecord, import("eslint").Linter.RulesRecord>;
|
16
|
+
"flat/base": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
|
17
|
+
"flat/recommended": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
|
18
|
+
"flat/prettier": import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>[];
|
19
|
+
"flat/all": import("eslint").Linter.FlatConfig[];
|
20
20
|
};
|
21
21
|
rules: {
|
22
22
|
[key: string]: import("eslint-plugin-svelte/lib/types.js").RuleModule;
|
@@ -40,6 +40,7 @@ declare const _default: {
|
|
40
40
|
"no-inline-styles": import("../types").RuleModule;
|
41
41
|
"no-multiple-h1": import("../types").RuleModule;
|
42
42
|
"no-extra-spacing-attrs": import("../types").RuleModule;
|
43
|
+
"no-extra-spacing-text": import("../types").RuleModule;
|
43
44
|
"attrs-newline": import("../types").RuleModule;
|
44
45
|
"element-newline": import("../types").RuleModule;
|
45
46
|
"no-skip-heading-levels": import("../types").RuleModule;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/imports/plugins/index.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAIxC,OAAO,YAAY,MAAM,4BAA4B,CAAC;;;mCAIE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/imports/plugins/index.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,MA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B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAV78L,wBAS4C"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "20.17.8",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "16.
|
4
|
+
"version": "16.6.0-rc.0",
|
5
5
|
"description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -53,25 +53,25 @@
|
|
53
53
|
},
|
54
54
|
"dependencies": {
|
55
55
|
"@eslinted/core": "3.4.1",
|
56
|
-
"@html-eslint/eslint-plugin": "0.
|
57
|
-
"@html-eslint/parser": "0.
|
56
|
+
"@html-eslint/eslint-plugin": "0.27.0",
|
57
|
+
"@html-eslint/parser": "0.27.0",
|
58
58
|
"@stylistic/eslint-plugin": "2.8.0",
|
59
59
|
"@typescript-eslint/eslint-plugin": "8.5.0",
|
60
60
|
"@typescript-eslint/parser": "8.5.0",
|
61
61
|
"eslint-plugin-jsonc": "2.16.0",
|
62
62
|
"eslint-plugin-markdownlint": "0.6.0",
|
63
63
|
"eslint-plugin-mocha": "10.5.0",
|
64
|
-
"eslint-plugin-svelte": "2.
|
64
|
+
"eslint-plugin-svelte": "2.44.0",
|
65
65
|
"eslint-plugin-yml": "1.14.0",
|
66
66
|
"jsonc-eslint-parser": "2.4.0",
|
67
67
|
"svelte": "^4.2.19",
|
68
|
-
"svelte-eslint-parser": "0.41.
|
68
|
+
"svelte-eslint-parser": "0.41.1",
|
69
69
|
"yaml-eslint-parser": "1.2.3"
|
70
70
|
},
|
71
71
|
"devDependencies": {
|
72
72
|
"@eslint/config-inspector": "^0.5.4",
|
73
73
|
"eslint": "~9.10.0",
|
74
|
-
"linted": "16.5.0
|
74
|
+
"linted": "16.5.0",
|
75
75
|
"npm-run-all": "^4.1.5",
|
76
76
|
"typescript": "^5.6.2"
|
77
77
|
},
|