ESLint plugin which disallows each ECMAScript syntax.
🏁 GoalEspree, the default parser of ESLint, has supported
ecmaVersionoption. However, the error messages of new syntax are not readable (e.g., "unexpected token" or something like).
When we use this plugin along with the latest
ecmaVersionoption value, it tells us the readable error message for the new syntax, such as "ES2020 BigInt is forbidden." Plus, this plugin lets us disable each syntactic feature individually.
📖 UsageSee documentation
🚥 Semantic Versioning PolicyThis plugin follows semantic versioning and ESLint's semantic versioning policy.
- We will release a new minor version to add new rules when TC39 decided to advance proposals to Stage 4. In the minor releases, we don't update configs.
- We will release a new major version to update configs when new ECMAScript snapshots are available.
📰 ChangelogSee releases.
❤️ ContributingWelcome contributing!
Please use GitHub's Issues/PRs.
npm testruns tests and measures coverage.
npm run cleanremoves the coverage result of
npm run coverageshows the coverage result of the last
npm run docs:buildbuilds documentation.
npm run docs:watchbuilds documentation on each file change.
npm run watchruns tests on each file change.