5.0.8 • Published 1 year ago

spire-plugin-eslint v5.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
1 year ago

spire-plugin-eslint

ESLint plugin for Spire.

Hooks

  • setup Adds lint and prepares eslint arguments.
  • precommit Adds eslint linter.
  • run Runs eslint.

Options

  • Plugin ['spire-plugin-eslint', options]

    • command \<string> Command name to run eslint on. Defaults to lint.
    • eslintConfig \<string> Default eslint configuration. Defaults to ./config.js.
    • autosetEslintConfig \<boolean> Decides if the plugin should automatically create an .eslintrc.js file. It will only create the file if there isn't already a config present. Defaults to true.
    • allowCustomConfig \<boolean> Whether to allow user-provided config. If this option is false and there's custom eslint config found it will throw an error. Defaults to true.
    • eslintIgnore \<string> Path to default .eslintignore. Defaults to .gitignore.
    • allowCustomIgnore \<boolean> Whether to allow user-provided .eslintignore. If this option is false and there's custom ignore file found it will throw an error. Defaults to true.
    • fileExtensions \<string[]> Extension of files eslint should scan. Defaults to ['.js', '.jsx', '.mjs', '.ts', '.tsx'].
  • CLI npx spire lint [args]

    • Passes all arguments as-is to eslint.
5.0.5

1 year ago

5.0.8

1 year ago

5.0.1

3 years ago

5.0.0

3 years ago

4.1.2

3 years ago

3.2.3

3 years ago

4.1.0

3 years ago

4.0.1

3 years ago

4.0.0

3 years ago

3.2.2

3 years ago

3.1.0

4 years ago

3.0.2

4 years ago

3.0.0

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.8.4-next.48

4 years ago

1.8.4-next.47

4 years ago

1.8.4-next.49

4 years ago

1.8.4-next.42

4 years ago

1.8.4-next.27

4 years ago

1.8.2

4 years ago

1.8.0

4 years ago

1.7.3

5 years ago

1.7.2

5 years ago

1.7.2-next.1

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago