linted 36.1.0 → 37.0.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
@@ -6,7 +6,7 @@
6
6
 
7
7
  ---
8
8
 
9
- [ESLint](https://eslint.org) mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.
9
+ [ESLint](https://eslint.org) mono-plugin bundler with strict, opinionated defaults for JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.
10
10
 
11
11
  1. [Languages](#languages)
12
12
  2. [Features](#features)
@@ -21,9 +21,9 @@
21
21
  > [!NOTE]
22
22
  > _See language support __[roadmap](#roadmap).___
23
23
 
24
- - __[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript):__ [`@stylistic`](https://eslint.style) + [`eslint`](https://eslint.org)
25
- - __[TypeScript](https://www.typescriptlang.org):__ [`@typescript-eslint`](https://typescript-eslint.io/) + [`@stylistic`](https://eslint.style) + [`eslint`](https://eslint.org)
26
- - __[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)
24
+ - __[JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript):__ [`eslint`](https://eslint.org)
25
+ - __[TypeScript](https://www.typescriptlang.org):__ [`@typescript-eslint`](https://typescript-eslint.io/) + [`eslint`](https://eslint.org)
26
+ - __[Svelte](https://svelte.dev):__ [`eslint-plugin-svelte`](https://sveltejs.github.io/eslint-plugin-svelte/) + [`@typescript-eslint`](https://typescript-eslint.io/) + [`eslint`](https://eslint.org)
27
27
  - __[HTML](https://developer.mozilla.org/en-US/docs/Web/HTML):__ [`@html-eslint`](https://html-eslint.org/)
28
28
 
29
29
  ### Data
@@ -31,10 +31,6 @@
31
31
  - __[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/)
32
32
  - __[YAML](https://redhat.com/en/topics/automation/what-is-yaml):__ [`eslint-plugin-yml`](https://ota-meshi.github.io/eslint-plugin-yml/)
33
33
 
34
- ### Library
35
-
36
- - __[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)
37
-
38
34
  ## Features
39
35
 
40
36
  ### Zero-Dependency
@@ -46,7 +42,6 @@ No need to remember each plugin's `parserOptions`; you won't have to do _this_ j
46
42
  ```javascript
47
43
  // lint TypeScript blocks in Svelte
48
44
  plugins: {
49
- "@stylistic": stylistic,
50
45
  "@typescript-eslint": ts,
51
46
  svelte,
52
47
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,MAAM,EACN,QAAQ,EAET,MAAM,SAAS,CAAC;AAoBjB,MAAM,CAAC,OAAO,WACZ,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAM,aA6B5F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,MAAM,EACN,QAAQ,EAET,MAAM,SAAS,CAAC;AAmBjB,MAAM,CAAC,OAAO,WACZ,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAM,aA4B5F"}
package/dist/index.js CHANGED
@@ -2,7 +2,6 @@ import Core from "@eslinted/core";
2
2
  import { scopes, optional, tree, } from "./scope/index.js";
3
3
  import settings from "./settings/index.js";
4
4
  import defaults from "@eslinted/defaults";
5
- import stylistic from "@stylistic/eslint-plugin";
6
5
  import { plugin as ts, parser as tsParser, } from "typescript-eslint";
7
6
  import html from "@html-eslint/eslint-plugin";
8
7
  import htmlParser from "@html-eslint/parser";
@@ -19,7 +18,6 @@ export default function (extensions = {}) {
19
18
  }, settings, defaults, extensions);
20
19
  configs[configs.length] = {
21
20
  plugins: {
22
- stylistic,
23
21
  ts: ts,
24
22
  html: html,
25
23
  css,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,GACL,MAAM,SAAS,CAAC;AACjB,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAI1C,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EACL,MAAM,IAAI,EAAE,EACZ,MAAM,IAAI,QAAQ,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,IAAI,MAAM,4BAA4B,CAAC;AAC9C,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,IAAI,MAAM,cAAc,CAAC;AAChC,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,GAAG,MAAM,mBAAmB,CAAC;AACpC,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,MAAM,CAAC,OAAO,WACZ,aAAyF,EAAE;IAE3F,MAAM,OAAO,GAAG,IAA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IAEF,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG;QACxB,OAAO,EAAE;YACP,EAAE,EAAE,EAAa;YACjB,IAAI,EAAE,IAAe;YACrB,GAAG;YACH,IAAI;YACJ,KAAK;YACL,GAAG;SACJ;KACF,CAAC;IAEF,OAAO,OAAO,CAAC;AACjB,CAAC"}
package/package.json CHANGED
@@ -3,18 +3,16 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "linted",
6
- "version": "36.1.0",
6
+ "version": "37.0.0-rc.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
- "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
8
+ "description": "ESLint mono-plugin bundler with strict, opinionated defaults for JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
9
  "keywords": [
10
10
  "eslint",
11
11
  "eslint-config",
12
12
  "eslint-plugin",
13
13
  "linter",
14
- "formatter",
15
14
  "typescript",
16
15
  "javascript",
17
- "stylistic",
18
16
  "svelte",
19
17
  "sveltekit",
20
18
  "html",
@@ -61,10 +59,9 @@
61
59
  "dependencies": {
62
60
  "@eslint/css": "0.14.1",
63
61
  "@eslint/json": "0.14.0",
64
- "@eslinted/core": "32.1.11",
65
- "@eslinted/defaults": "18.1.0",
62
+ "@eslinted/core": "32.1.12",
63
+ "@eslinted/defaults": "19.0.0-rc.0",
66
64
  "@html-eslint/eslint-plugin": "0.52.1",
67
- "@stylistic/eslint-plugin": "5.6.1",
68
65
  "eslint-plugin-jsonc": "2.21.0",
69
66
  "eslint-plugin-yml": "1.19.1",
70
67
  "typescript-eslint": "^8.51.0"
package/src/index.ts CHANGED
@@ -10,7 +10,6 @@ import defaults from "@eslinted/defaults";
10
10
  // #endregion
11
11
 
12
12
  // #region External
13
- import stylistic from "@stylistic/eslint-plugin";
14
13
  import {
15
14
  plugin as ts,
16
15
  parser as tsParser,
@@ -43,7 +42,6 @@ export default function (
43
42
 
44
43
  configs[configs.length] = {
45
44
  plugins: {
46
- stylistic,
47
45
  ts: ts as unknown,
48
46
  html: html as unknown,
49
47
  css,