Releases: mradionov/eslint-plugin-disable
Releases · mradionov/eslint-plugin-disable
v2.0.1
v2.0.0
Migrating guide
Breaking changes
- all settings have been reworked to integrate with new ESLint 6+ overrides feature
- in order for plugin to work it must be specified as a
"processor": "disable/disable"
either for root config or for individual override entry - conflicts with other plugins' processors are not resolved via new "externalProcessor" setting
Bugfixes
Refactor
- All source code split into granular modules for easier testing
Chore
- Fixed npm audits
- Dropped old Node version support up to 10+
- Added prettier and .editorconfig
v1.0.5
Chore
Fix NPM audit alert
=== npm audit security report ===
# Run npm update js-yaml --depth 2 to resolve 2 vulnerabilities
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ js-yaml │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ eslint │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ eslint > js-yaml │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/788 │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Code Injection │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ js-yaml │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ eslint │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ eslint > js-yaml │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/813 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 2 vulnerabilities (1 moderate, 1 high) in 243 scanned packages
run `npm audit fix` to fix 2 of them.
v1.0.4
Bugfixes
- Multiple fixes based on #22
- Ignore
process.args
when ESLint is run via Node API in third-party module - Add settings option
cliArgs
to pass CLI args to plugin ESLint Node API so files with unusual files extensions like.vue
can be processed - Queue third-party plugin processor after THIS plugin processor to workaround ESLint processor limitation
- Ignore
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Breaking changes:
extensions
setting is no longer supported. Previous usage example, which is no longer supported:
{
"settings": {
"eslint-plugin-disable": {
"extensions": [".js", ".ts", ".ps"]
}
}
}
Starting from this release extensions should be provided via ESLint CLI --ext
option (docs). It both configures ESLint to lint unusual files and also makes the plugin work with them.
Bugfixes:
- Adds support for ESLint config hierarchy (#9)