0.2.24 • Published 8 months ago

@plugjs/eslint-plugin v0.2.24

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

PlugJS ESLint (v9) Shared Configuration

This package exports simple configurations for linting our projects. It's the easiest way to actually share some configs and plugins.

Just add in your eslint.config.mjs something similar to:

import configurations from '@plugjs/eslint-plugin'

export default [
  ...configurations,
  // any other configuration you might want to add for your project...
]

This includes a number of configurations:

  • eslint-recommended: recommended JavaScript config from ESLint.

  • plugjs-base: basic configuration of ESLint rules.

  • plugjs-stylistic: style shared between JavaScript and TypeScript.
  • plugjs-unicorn: extra niceties from the ESLint Unicorn plugin.
  • plugjs-importx: defines the style of our imports.

  • plugjs-javascript: basic extra rules for JavaScript sources.

  • plugjs-javascript-cjs: marks *.cjs files as commonjs.
  • plugjs-javascript-mjs: marks *.mjs files as module.

  • typescript-eslint/recommended: imports all the configurations from TypeScript ESlint recommended, but restrict them to operate only on .ts, .cts, and .mts files. This should include:

    • typescript-eslint/base: basic parser configuration.
    • typescript-eslint/eslint-recommended: disable ESLint rules conflicting with TypeScript.
    • typescript-eslint/recommended: recommended config for TypeScript
  • plugjs-typescript: our rules overriding typescript-eslint/recommended.

Notes on building

During this transitional period (ESLint from v8 to v9, and TypeScript ESLint from v7 to v8) a number of plugins, even if they are working, are specifying wrong/old dependencies in their packages.

For those plugins, we bundle them up and ship them with this plugin, and hopefully we'll be able to un-bundle them as the various packages move in their transitions.

Legal Stuff

0.2.24

8 months ago

0.2.23

8 months ago

0.2.22

8 months ago

0.2.21

8 months ago

0.2.20

8 months ago

0.2.19

9 months ago

0.2.18

9 months ago

0.2.17

9 months ago

0.2.16

9 months ago

0.2.15

10 months ago

0.2.14

10 months ago

0.2.13

10 months ago

0.2.12

10 months ago

0.2.11

10 months ago

0.2.10

10 months ago

0.1.23

12 months ago

0.2.0-beta.2

12 months ago

0.2.0-beta.1

12 months ago

0.2.0-beta.4

12 months ago

0.2.0-beta.3

12 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.2.7

11 months ago

0.2.6

11 months ago

0.2.9

11 months ago

0.2.8

11 months ago

0.2.3

11 months ago

0.2.2

12 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.17

2 years ago

0.1.18

1 year ago

0.1.16

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.6

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.3

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.6

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago