$ gnpm install eslint-plugin-es
ESLint plugin which disallows each ECMAScript syntax.
Espree, the default parser of ESLint, has supported ecmaVersion
option.
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 ecmaVersion
option 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.
See documentation
This plugin follows semantic versioning and ESLint's semantic versioning policy.
See releases.
Welcome contributing!
Please use GitHub's Issues/PRs.
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.Copyright 2013 - present © cnpmjs.org | Home |