eslint-config-metarhia

2019-10-09

ESLint config for Metarhia projects

eslint-config-metarhia

Build StatusGreenkeeper badge

Opinionated ESLintconfig and de-facto JavaScript styleguide for Metarhiaprojects.

Usage

  1. Install ESLint, this config and required plugins:

    npm i -D eslint eslint-plugin-import eslint-config-metarhia
  2. Add "extends": "metarhia"to your .eslintrc.

Contributing

Please adhere to Conventional Commitsstyleguide for commit messages (npm installcreates a Git hook that lints your commit messages, and they are also checked on CI, but please write them properly beforehand so that they don't get rejected. If that happens locally while committing, though, don't worry, your commit message isn't lost, you can still find it in .git/COMMIT_EDITMSG).

Releasing

Collaborators can release new versions using

npm run release
git push origin master --follow-tags
npm publish

This will update the version in package.jsonand package-lock.jsonaccording to semantic versioning using commit messages to determine whether it is a patch, minor or major release, update the changelog, tag the new version in Git, and publish it to npm registry.

License

MIT. See the LICENSEfile for details.

HomePage

https://github.com/metarhia/eslint-config-metarhia#readme

Repository

https+https://github.com/metarhia/eslint-config-metarhia


上一篇:eslint-plugin-impress
下一篇:sandboxed-fs
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部