mrm-task-eslint

Mrm task that adds ESLint

MIT 60 个版本
安装
npm install mrm-task-eslint
yarn add mrm-task-eslint
pnpm add mrm-task-eslint
bun add mrm-task-eslint
README

mrm-task-eslint

Mrm task that adds ESLint.

Supports JavaScript and TypeScript.

What it does

  • Creates .eslintrc.json
  • Adds an npm script to run ESLint before tests
  • Installs dependencies

Usage

npx mrm eslint

Options

See Mrm docs for more details.

eslintPreset (default: eslint:recommended)

ESLint preset name (e.g. airbnb or eslint-config-airbnb).

eslintPeerDependencies (optional)

Additional dependencies to install (e.g. ['prettier', 'eslint-plugin-prettier']).

eslintObsoleteDependencies (optional)

Dependencies that should be removed (e.g. ['eslint-plugin-prettier']).

eslintRules (optional)

Additional rules (e.g. { 'no-undef': 0 }).

Changelog

The changelog can be found in CHANGELOG.md.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin and contributors.

MIT License, see the included License.md file.

版本列表
4.1.22 2023-09-14
4.1.21 2023-09-13
4.1.20 2023-09-13
4.1.19 2023-09-13
4.1.18 2023-09-13
4.1.17 2023-07-04
4.1.16 2023-07-04
4.1.15 2023-07-04
4.1.14 2023-03-10
4.1.13 2022-10-19
4.1.12 2022-10-19
4.1.11 2022-10-19
4.1.10 2022-10-18
4.1.9 2022-10-18
4.1.8 2022-10-17
4.1.7 2022-10-16
4.1.6 2022-09-15
4.1.5 2022-09-15
4.1.4 2022-09-15
4.1.3 2022-09-15
4.1.2 2022-09-15
4.1.1 2022-09-15
4.1.0 2022-08-23
4.0.0 2022-03-22
3.0.8 2021-10-14
3.0.7 2021-09-18
3.0.6 2021-08-03
3.0.5 2021-08-03
3.0.4 2021-08-02
3.0.3 2021-07-21
3.0.2 2021-07-21
3.0.0 2021-04-07
2.1.1 2021-04-01
2.1.0 2021-02-25
2.0.16 2021-02-09
2.0.15 2021-02-08
2.0.14 2021-02-03
2.0.13 2020-11-04
2.0.12 2020-10-27
2.0.11 2020-10-27
2.0.10 2020-10-27
2.0.9 2020-10-26
2.0.8 2020-10-08
2.0.7 2020-08-19
2.0.6 2020-06-18
2.0.5 2020-06-08
2.0.4 2020-04-07
2.0.3 2020-03-20
2.0.2 2020-01-27
2.0.1 2020-01-25
2.0.0 2019-11-24
1.2.1 2019-06-18
1.2.0 2018-09-01
1.1.3 2018-07-24
1.1.2 2018-02-23
1.1.1 2017-12-27
1.1.0 2017-12-19
1.0.2 2017-12-01
1.0.1 2017-09-20
1.0.0 2017-09-05