Skip to content

Releases: mradionov/eslint-plugin-disable

v2.0.1

15 Mar 08:41
Compare
Choose a tag to compare

Docs

  • Updated docs

v2.0.0

14 Mar 21:09
Compare
Choose a tag to compare

Migrating guide

MIGRATING.md

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

07 Jul 11:56
Compare
Choose a tag to compare

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

08 Mar 19:39
Compare
Choose a tag to compare

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

v1.0.3

13 Oct 13:10
Compare
Choose a tag to compare

Bugfixes

  • Fix error while parsing CLI options (#20)

v1.0.2

19 Jul 18:39
Compare
Choose a tag to compare

Bugfixes

  • Make --fix flag work with plugin (#16)

v1.0.1

06 Jan 16:59
Compare
Choose a tag to compare

Bugfixes

  • Backup resolve with require.resolve for global eslint installation (#12)

v1.0.0

19 Nov 18:25
Compare
Choose a tag to compare

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)

v0.3.0

19 Nov 17:42
Compare
Choose a tag to compare

Features:

  • Add option to disable all plugins except specified ones

v0.2.1

19 Nov 17:42
Compare
Choose a tag to compare

Bugfixes:

  • Prevent crash when ESLint fails to parse a source (#3)