mrm-task-eslint

4.1.22 • Public • Published

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.1.22141latest

Version History

VersionDownloads (Last 7 Days)Published
4.1.22141
4.1.210
4.1.200
4.1.190
4.1.180
4.1.170
4.1.160
4.1.150
4.1.140
4.1.130
4.1.120
4.1.110
4.1.100
4.1.90
4.1.80
4.1.70
4.1.61
4.1.50
4.1.40
4.1.30
4.1.20
4.1.10
4.1.00
4.0.00
3.0.820
3.0.70
3.0.60
3.0.50
3.0.40
3.0.30
3.0.20
3.0.00
2.1.1928
2.1.00
2.0.160
2.0.150
2.0.140
2.0.133
2.0.120
2.0.111
2.0.100
2.0.90
2.0.80
2.0.70
2.0.62
2.0.50
2.0.42
2.0.30
2.0.23
2.0.10
2.0.00
1.2.139
1.2.00
1.1.30
1.1.20
1.1.10
1.1.00
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i mrm-task-eslint

Weekly Downloads

1,140

Version

4.1.22

License

MIT

Unpacked Size

7.76 kB

Total Files

4

Last publish

Collaborators

  • sapegin