forked from zhurui/management
45 lines
1.9 KiB
Markdown
45 lines
1.9 KiB
Markdown
# eslint-plugin-es
|
|
|
|
[](https://www.npmjs.com/package/eslint-plugin-es)
|
|
[](http://www.npmtrends.com/eslint-plugin-es)
|
|
[](https://travis-ci.org/mysticatea/eslint-plugin-es)
|
|
[](https://codecov.io/gh/mysticatea/eslint-plugin-es)
|
|
[](https://david-dm.org/mysticatea/eslint-plugin-es)
|
|
|
|
ESLint plugin which disallows each ECMAScript syntax.
|
|
|
|
## 🏁 Goal
|
|
|
|
[Espree](https://github.com/eslint/espree#readme), the default parser of [ESLint](https://eslint.org/), has supported `ecmaVersion` option.
|
|
However, it doesn't support to enable each syntactic feature individually.
|
|
|
|
This plugin lets us disable each syntactic feature individually.
|
|
So we can enable arbitrary syntactic features with the combination of `ecmaVersion` and this plugin.
|
|
|
|
## 📖 Usage
|
|
|
|
See [documentation](https://mysticatea.github.io/eslint-plugin-es/)
|
|
|
|
## 🚥 Semantic Versioning Policy
|
|
|
|
This plugin follows [semantic versioning](http://semver.org/) and [ESLint's semantic versioning policy](https://github.com/eslint/eslint#semantic-versioning-policy).
|
|
|
|
## 📰 Changelog
|
|
|
|
See [releases](https://github.com/mysticatea/eslint-plugin-es/releases).
|
|
|
|
## ❤️ Contributing
|
|
|
|
Welcome contributing!
|
|
|
|
Please use GitHub's Issues/PRs.
|
|
|
|
### Development Tools
|
|
|
|
- `npm test` runs tests and measures coverage.
|
|
- `npm run clean` removes the coverage result of `npm test` command.
|
|
- `npm run coverage` shows the coverage result of the last `npm test` command.
|
|
- `npm run docs:build` builds documentation.
|
|
- `npm run docs:watch` builds documentation on each file change.
|
|
- `npm run watch` runs tests on each file change.
|