Socket
Socket
Sign inDemoInstall

eslint-plugin-no-autofix

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-no-autofix

eslint rules without fixer.


Version published
Weekly downloads
42K
increased by10.6%
Maintainers
1
Weekly downloads
 
Created
Source

build status dependency status

eslint-plugin-no-autofix

Why

Some warnings is auto-fixable but we do not want to fix it, like "prefer-const" .

Install & usage

$ npm i eslint-plugin-no-autofix -D # for npm
$ yarn add eslint-plugin-no-autofix -D # for yarn

add prefix "no-autofix/" to the rulename in eslintrc:

{
  "plugins": ["no-autofix"],
  "rules": {
    "prefer-const": "off",
    "no-autofix/prefer-const": "error",
  }
}

or a 3rd-party plugin:

{
  "plugins": ["no-autofix", "react"],
  "rules": {
    "react/jsx-indent": "off",
    "no-autofix/react/jsx-indent": "error",
  }
}

Supported rules

It supports all eslint core rules and 3rd-party plugins.

Acknowledgement

Keywords

FAQs

Package last updated on 02 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc