0.14.5 • Published 7 months ago

eslint-solid-standalone v0.14.5

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

eslint-solid-standalone

This package bundles ESLint, eslint-plugin-solid, and necessary tooling together into one package that can be used on the web or in a web worker.

It mainly exists to power ESLint support in the Solid playground.

Heavily inspired/lifted from @typescript-eslint's equivalent setup.

API

export function verify(
  code: string,
  ruleSeverityOverrides?: Record<string, Linter.Severity>
): Linter.LintMessage[];

export function verifyAndFix(
  code: string,
  ruleSeverityOverrides?: Record<string, Linter.Severity>
): Linter.FixReport;

export { plugin }; // eslint-plugin-solid
export { pluginVersion, eslintVersion };

code: a string of source code, supports TS and JSX

ruleSeverityOverrides: an optional record of rule id (i.e. "solid/reactivity") to severity (i.e. 0, 1, or 2)

0.14.5

7 months ago

0.14.4

8 months ago

0.14.3

10 months ago

0.14.2

11 months ago

0.14.1

1 year ago

0.14.0

1 year ago

0.13.2

1 year ago

0.13.1

2 years ago

0.13.0

2 years ago

0.12.1

2 years ago

0.10.0

2 years ago

0.11.0

2 years ago

0.12.0

2 years ago

0.9.4

2 years ago

0.9.3

2 years ago

0.9.2

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.3.1

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago