linted 16.1.2 → 16.1.3-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +18 -11
- package/package.json +4 -4
package/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# [`linted`](https://npmjs.com/package/linted)
|
2
2
|
|
3
|
+
___DO NOT USE - DOCUMENTATION IS SIGNIFICANTLY OUTDATED AS OF AUGUST 4, 2024___
|
4
|
+
|
3
5
|
Zero-config [__ESLint__](https://eslint.org/) flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.
|
4
6
|
|
5
7
|
1. [Languages](#languages)
|
@@ -9,15 +11,13 @@ Zero-config [__ESLint__](https://eslint.org/) flat config factory for (strict, a
|
|
9
11
|
1. [Roadmap](#roadmap)
|
10
12
|
1. [Rule Logic (Advanced)](#rule-logic-advanced)
|
11
13
|
|
12
|
-
v14.1 is in progress, in the meantime this readme is totally inaccurate.
|
13
|
-
|
14
14
|
## Languages
|
15
15
|
|
16
16
|
### Web
|
17
17
|
|
18
|
-
- __[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript):__ [`
|
19
|
-
- __[TypeScript](https://typescriptlang.org):__
|
20
|
-
- __[Svelte](https://svelte.dev):__
|
18
|
+
- __[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript):__ [`@stylistic`](https://eslint.style) + [`eslint`](https://eslint.org)
|
19
|
+
- __[TypeScript](https://typescriptlang.org):__ [`@typescript-eslint`](https://typescript-eslint.io/) + [`@stylistic`](https://eslint.style) + [`eslint`](https://eslint.org)
|
20
|
+
- __[Svelte](https://svelte.dev):__ [`eslint-plugin-svelte`](https://sveltejs.github.io/eslint-plugin-svelte/) + [`@typescript-eslint`](https://typescript-eslint.io/) + [`@stylistic`](https://eslint.style) + [`eslint`](https://eslint.org)
|
21
21
|
- __[HTML](https://developer.mozilla.org/en-US/docs/Web/HTML):__ [`@html-eslint`](https://html-eslint.org/)
|
22
22
|
|
23
23
|
### Data
|
@@ -25,11 +25,16 @@ v14.1 is in progress, in the meantime this readme is totally inaccurate.
|
|
25
25
|
- __[JSON](https://json.org) & [JSONC](https://code.visualstudio.com/docs/languages/json#_json-with-comments):__ [`eslint-plugin-jsonc`](https://ota-meshi.github.io/eslint-plugin-jsonc/)
|
26
26
|
- __[YAML](https://redhat.com/en/topics/automation/what-is-yaml):__ [`eslint-plugin-yml`](https://ota-meshi.github.io/eslint-plugin-yml/)
|
27
27
|
|
28
|
+
### Library
|
29
|
+
|
30
|
+
- __[Mocha](https://mochajs.org/):__ [`eslint-plugin-mocha`](https://github.com/lo1tuma/eslint-plugin-mocha) + [`@typescript-eslint`](https://typescript-eslint.io/) + [`@stylistic`](https://eslint.style) + [`eslint`](https://eslint.org)
|
31
|
+
|
28
32
|
### Text
|
29
33
|
|
30
|
-
- __[GitHub Flavored Markdown](https://github.github.com/gfm/) & [CommonMark](https://commonmark.org):__ [`eslint-plugin-markdownlint`](https://gitlab.com/pawelbbdrozd/eslint-plugin-markdownlint/-/blob/main/README.md)
|
34
|
+
- __[Markdown](https://en.wikipedia.org/wiki/Markdown) ([GitHub Flavored Markdown](https://github.github.com/gfm/) & [CommonMark](https://commonmark.org)):__ [`eslint-plugin-markdownlint`](https://gitlab.com/pawelbbdrozd/eslint-plugin-markdownlint/-/blob/main/README.md) <- bad plugin, check it out and find out why. still mad at wasting my time on this gitlab-hosted piece of shit. Probably gonna deprecate it out of spite
|
35
|
+
|
36
|
+
<br />
|
31
37
|
|
32
|
-
\
|
33
38
|
_See language support __[roadmap](#roadmap).___
|
34
39
|
|
35
40
|
## Features
|
@@ -78,10 +83,12 @@ import linted from "linted";
|
|
78
83
|
export default linted();
|
79
84
|
```
|
80
85
|
|
81
|
-
###
|
86
|
+
### Total Control via Optional Arguments
|
87
|
+
|
88
|
+
___WIP for v14.1, currently inaccurate___.
|
82
89
|
|
83
|
-
- `includes` (scoped [`glob patterns`](code.visualstudio.com/docs/editor/glob-patterns))
|
84
|
-
- `ignores` (global [`glob patterns`](code.visualstudio.com/docs/editor/glob-patterns) and other options)
|
90
|
+
- `includes` (scoped [`glob patterns`](https://code.visualstudio.com/docs/editor/glob-patterns))
|
91
|
+
- `ignores` (global [`glob patterns`](https://code.visualstudio.com/docs/editor/glob-patterns) and other options)
|
85
92
|
- `overrides` (scoped rule statements)
|
86
93
|
|
87
94
|
#### `includes` _(Scoped)_
|
@@ -189,7 +196,7 @@ tsc --skipLibCheck
|
|
189
196
|
import linted from "linted";
|
190
197
|
```
|
191
198
|
|
192
|
-
- Export `linted` with optional [arguments](#
|
199
|
+
- Export `linted` with optional [arguments](#total-control-via-optional-arguments):
|
193
200
|
|
194
201
|
```javascript
|
195
202
|
import linted from "linted";
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"_schemaVersion": "20.
|
2
|
+
"_schemaVersion": "20.15.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "16.1.
|
4
|
+
"version": "16.1.3-rc.0",
|
5
5
|
"description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.",
|
6
6
|
"keywords": [
|
7
7
|
"eslint",
|
@@ -52,7 +52,7 @@
|
|
52
52
|
}
|
53
53
|
},
|
54
54
|
"dependencies": {
|
55
|
-
"@eslinted/core": "~3.0.
|
55
|
+
"@eslinted/core": "~3.0.4",
|
56
56
|
"@html-eslint/eslint-plugin": "~0.25.0",
|
57
57
|
"@html-eslint/parser": "~0.25.0",
|
58
58
|
"@stylistic/eslint-plugin": "~2.6.1",
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"devDependencies": {
|
72
72
|
"@eslint/config-inspector": "^0.5.2",
|
73
73
|
"eslint": "~9.8.0",
|
74
|
-
"linted": "~16.1.2
|
74
|
+
"linted": "~16.1.2",
|
75
75
|
"npm-run-all": "^4.1.5",
|
76
76
|
"typescript": "^5.5.4"
|
77
77
|
},
|