@eslinted/core 20.0.0 → 21.0.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/dist/_test/index.d.ts +71 -2
- package/dist/_test/index.d.ts.map +1 -1
- package/dist/_test/index.js +71 -2
- package/dist/_test/index.js.map +1 -1
- package/dist/factory/index.d.ts +9 -7
- package/dist/factory/index.d.ts.map +1 -1
- package/dist/factory/index.js +12 -12
- package/dist/factory/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/interface/input/configuration/defaults.d.ts +0 -1
- package/dist/interface/input/configuration/defaults.d.ts.map +1 -1
- package/dist/interface/input/configuration/index.d.ts +3 -1
- package/dist/interface/input/configuration/index.d.ts.map +1 -1
- package/dist/interface/input/configuration/manifest/index.d.ts +14 -0
- package/dist/interface/input/configuration/manifest/index.d.ts.map +1 -0
- package/dist/interface/input/configuration/manifest/index.js +2 -0
- package/dist/interface/input/configuration/manifest/index.js.map +1 -0
- package/dist/interface/input/configuration/settings.d.ts +7 -0
- package/dist/interface/input/configuration/settings.d.ts.map +1 -0
- package/dist/interface/input/configuration/settings.js +2 -0
- package/dist/interface/input/configuration/settings.js.map +1 -0
- package/dist/interface/input/index.d.ts +1 -1
- package/dist/interface/input/index.d.ts.map +1 -1
- package/dist/scope/index.d.ts +0 -1
- package/dist/scope/index.d.ts.map +1 -1
- package/dist/scope/index.js +0 -1
- package/dist/scope/index.js.map +1 -1
- package/package.json +1 -1
- package/src/_test/index.ts +71 -2
- package/src/factory/index.ts +24 -21
- package/src/index.ts +2 -2
- package/src/interface/input/configuration/defaults.ts +0 -4
- package/src/interface/input/configuration/index.ts +6 -0
- package/src/{factory/model/manifest.d.ts → interface/input/configuration/manifest/index.ts} +2 -2
- package/src/interface/input/configuration/settings.ts +18 -0
- package/src/interface/input/index.ts +2 -1
- package/src/scope/index.ts +0 -1
- package/dist/scope/registry/index.d.ts +0 -78
- package/dist/scope/registry/index.d.ts.map +0 -1
- package/dist/scope/registry/index.js +0 -23
- package/dist/scope/registry/index.js.map +0 -1
- package/dist/scope/registry/manifests/css.d.ts +0 -8
- package/dist/scope/registry/manifests/css.d.ts.map +0 -1
- package/dist/scope/registry/manifests/css.js +0 -10
- package/dist/scope/registry/manifests/css.js.map +0 -1
- package/dist/scope/registry/manifests/html.d.ts +0 -10
- package/dist/scope/registry/manifests/html.d.ts.map +0 -1
- package/dist/scope/registry/manifests/html.js +0 -11
- package/dist/scope/registry/manifests/html.js.map +0 -1
- package/dist/scope/registry/manifests/js.d.ts +0 -5
- package/dist/scope/registry/manifests/js.d.ts.map +0 -1
- package/dist/scope/registry/manifests/js.js +0 -9
- package/dist/scope/registry/manifests/js.js.map +0 -1
- package/dist/scope/registry/manifests/json.d.ts +0 -8
- package/dist/scope/registry/manifests/json.d.ts.map +0 -1
- package/dist/scope/registry/manifests/json.js +0 -8
- package/dist/scope/registry/manifests/json.js.map +0 -1
- package/dist/scope/registry/manifests/jsonc.d.ts +0 -6
- package/dist/scope/registry/manifests/jsonc.d.ts.map +0 -1
- package/dist/scope/registry/manifests/jsonc.js +0 -10
- package/dist/scope/registry/manifests/jsonc.js.map +0 -1
- package/dist/scope/registry/manifests/jsoncc.d.ts +0 -6
- package/dist/scope/registry/manifests/jsoncc.d.ts.map +0 -1
- package/dist/scope/registry/manifests/jsoncc.js +0 -10
- package/dist/scope/registry/manifests/jsoncc.js.map +0 -1
- package/dist/scope/registry/manifests/mocha.d.ts +0 -7
- package/dist/scope/registry/manifests/mocha.d.ts.map +0 -1
- package/dist/scope/registry/manifests/mocha.js +0 -9
- package/dist/scope/registry/manifests/mocha.js.map +0 -1
- package/dist/scope/registry/manifests/svelte.d.ts +0 -11
- package/dist/scope/registry/manifests/svelte.d.ts.map +0 -1
- package/dist/scope/registry/manifests/svelte.js +0 -11
- package/dist/scope/registry/manifests/svelte.js.map +0 -1
- package/dist/scope/registry/manifests/ts.d.ts +0 -17
- package/dist/scope/registry/manifests/ts.d.ts.map +0 -1
- package/dist/scope/registry/manifests/ts.js +0 -30
- package/dist/scope/registry/manifests/ts.js.map +0 -1
- package/dist/scope/registry/manifests/yml.d.ts +0 -7
- package/dist/scope/registry/manifests/yml.d.ts.map +0 -1
- package/dist/scope/registry/manifests/yml.js +0 -10
- package/dist/scope/registry/manifests/yml.js.map +0 -1
- package/src/factory/model/index.d.ts +0 -2
- package/src/factory/model/tree.d.ts +0 -8
- package/src/scope/registry/index.ts +0 -23
- package/src/scope/registry/manifests/css.ts +0 -9
- package/src/scope/registry/manifests/html.ts +0 -10
- package/src/scope/registry/manifests/js.ts +0 -8
- package/src/scope/registry/manifests/json.ts +0 -7
- package/src/scope/registry/manifests/jsonc.ts +0 -9
- package/src/scope/registry/manifests/jsoncc.ts +0 -9
- package/src/scope/registry/manifests/mocha.ts +0 -8
- package/src/scope/registry/manifests/svelte.ts +0 -10
- package/src/scope/registry/manifests/ts.ts +0 -30
- package/src/scope/registry/manifests/yml.ts +0 -9
@@ -1,23 +0,0 @@
|
|
1
|
-
import { js } from "./manifests/js";
|
2
|
-
import { ts } from "./manifests/ts";
|
3
|
-
import { mocha } from "./manifests/mocha";
|
4
|
-
import { svelte } from "./manifests/svelte";
|
5
|
-
import { html } from "./manifests/html";
|
6
|
-
import { css } from "./manifests/css";
|
7
|
-
import { json } from "./manifests/json";
|
8
|
-
import { jsonc } from "./manifests/jsonc";
|
9
|
-
import { jsoncc } from "./manifests/jsoncc";
|
10
|
-
import { yml } from "./manifests/yml";
|
11
|
-
|
12
|
-
export const registry = {
|
13
|
-
js,
|
14
|
-
ts,
|
15
|
-
mocha,
|
16
|
-
svelte,
|
17
|
-
html,
|
18
|
-
css,
|
19
|
-
json,
|
20
|
-
jsonc,
|
21
|
-
jsoncc,
|
22
|
-
yml,
|
23
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export const css = {
|
2
|
-
languageOptions: {
|
3
|
-
// DOC: https://github.com/eslint/css?tab=readme-ov-file#languages
|
4
|
-
tolerant: false /* @default: true | DOC: https://github.com/eslint/css?tab=readme-ov-file#tolerant-mode */,
|
5
|
-
// customSyntax: {} /* DOC: Tailwind: https://github.com/eslint/css?tab=readme-ov-file#configuring-tailwind-syntax | DOC: https://github.com/eslint/css?tab=readme-ov-file#configuring-custom-syntax */,
|
6
|
-
},
|
7
|
-
parserOptions: {},
|
8
|
-
language: "css/css",
|
9
|
-
};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
export const html = {
|
2
|
-
languageOptions: {
|
3
|
-
parser: "html" as const,
|
4
|
-
},
|
5
|
-
parserOptions: {
|
6
|
-
// templateEngineSyntax: {} /* DOC: https://html-eslint.org/docs/integrating-template-engine */,
|
7
|
-
frontmatter: true /* @default: false | DOC: https://html-eslint.org/docs/integrating-template-engine#skip-frontmatter */,
|
8
|
-
},
|
9
|
-
language: "@html-eslint/html",
|
10
|
-
};
|
@@ -1,7 +0,0 @@
|
|
1
|
-
export const json = {
|
2
|
-
languageOptions: {
|
3
|
-
allowTrailingCommas: true /* DOC: https://github.com/eslint/json?tab=readme-ov-file#allowing-trailing-commas-in-jsonc */,
|
4
|
-
},
|
5
|
-
parserOptions: {},
|
6
|
-
language: "json/jsonc" /* INFO: `languageOptions.allowTrailingCommas` is only available on language `json/jsonc` */,
|
7
|
-
};
|
@@ -1,30 +0,0 @@
|
|
1
|
-
export const ts = {
|
2
|
-
languageOptions: {
|
3
|
-
parser: "ts" as const,
|
4
|
-
},
|
5
|
-
parserOptions: {
|
6
|
-
// DOC: https://typescript-eslint.io/packages/parser/#configuration
|
7
|
-
// INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
|
8
|
-
// - https://typescript-eslint.io/blog/project-service/
|
9
|
-
// - https://typescript-eslint.io/getting-started/typed-linting/
|
10
|
-
// - https://typescript-eslint.io/troubleshooting/typed-linting/
|
11
|
-
|
12
|
-
// disallowAutomaticSingleRunInference: false /* @default: false */,
|
13
|
-
// cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
|
14
|
-
ecmaFeatures: {
|
15
|
-
// jsx: false /* @default: false */,
|
16
|
-
globalReturn: true /* @default: false */,
|
17
|
-
},
|
18
|
-
ecmaVersion: 2023 /* number | @default: latest" */,
|
19
|
-
emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
20
|
-
experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
21
|
-
// extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
|
22
|
-
isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
|
23
|
-
// jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
|
24
|
-
// jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
25
|
-
// jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
26
|
-
// lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
|
27
|
-
projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
|
28
|
-
warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
|
29
|
-
},
|
30
|
-
};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
export const yml = {
|
2
|
-
languageOptions: {
|
3
|
-
parser: "yml" as const,
|
4
|
-
},
|
5
|
-
parserOptions: {
|
6
|
-
// DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
|
7
|
-
// defaultYAMLVersion: "1.2" /* "1.1" | @default: "1.2" | DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#parseroptionsdefaultyamlversion */,
|
8
|
-
},
|
9
|
-
};
|