linted 13.0.12 → 13.0.14
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 -6
- package/package.json +1 -1
package/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# [linted](https://npmjs.com/package/linted) v13
|
1
|
+
# [`linted`](https://npmjs.com/package/linted) v13
|
2
2
|
|
3
3
|
Zero-config [**ESLint**](https://eslint.org/) flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Jest, JSON(C), and sadly YAML.
|
4
4
|
|
@@ -9,7 +9,7 @@ Zero-config [**ESLint**](https://eslint.org/) flat config factory for (strict, a
|
|
9
9
|
- **[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript):** [`eslint`](https://eslint.org) + [`@stylistic`](https://eslint.style)
|
10
10
|
- **[TypeScript](https://typescriptlang.org):** + [`@typescript-eslint`](https://typescript-eslint.io/)
|
11
11
|
- **[Svelte](https://svelte.dev):** + [`eslint-plugin-svelte`](https://sveltejs.github.io/eslint-plugin-svelte/)
|
12
|
-
- **[HTML](https://developer.mozilla.org/en-US/docs/Web/HTML):**
|
12
|
+
- **[HTML](https://developer.mozilla.org/en-US/docs/Web/HTML):** [`@html-eslint`](https://html-eslint.org/)
|
13
13
|
|
14
14
|
### Data
|
15
15
|
|
@@ -36,7 +36,7 @@ Zero-config [**ESLint**](https://eslint.org/) flat config factory for (strict, a
|
|
36
36
|
```javascript
|
37
37
|
import linted from "linted";
|
38
38
|
|
39
|
-
export default
|
39
|
+
export default linted(
|
40
40
|
{ // Scope (i.e. files to lint)
|
41
41
|
js: [
|
42
42
|
"eslint.config.js",
|
@@ -104,11 +104,10 @@ No need to remember each plugin's `parserOptions`; you won't have to do *this* j
|
|
104
104
|
|
105
105
|
## Limitation
|
106
106
|
|
107
|
-
If linting `TypeScript` files, [`skipLibCheck`](https://www.typescriptlang.org/tsconfig/#skipLibCheck) must be
|
107
|
+
If linting `TypeScript` files, [`skipLibCheck`](https://www.typescriptlang.org/tsconfig/#skipLibCheck) must be set to `true`.
|
108
108
|
|
109
109
|
- This compromise was required to enable linting `jest` files.
|
110
|
-
-
|
111
|
-
- Issue [#30](https://github.com/jimmy-zhening-luo/linted/issues/30) tracks investigating if feasible to enable `jest` linting without disabling `skipLibCheck`.
|
110
|
+
- TypeScript's official `.tsconfig` `strict` template has `skipLibCheck: true`, so `linted` views accepts skipping library check as acceptable for overall type safety.
|
112
111
|
|
113
112
|
### `tsconfig.json`
|
114
113
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "linted",
|
3
|
-
"version": "13.0.
|
3
|
+
"version": "13.0.14",
|
4
4
|
"description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Jest, JSON(C), and sadly YAML.",
|
5
5
|
"keywords": [
|
6
6
|
"eslint",
|