Socket
Socket
Sign inDemoInstall

@easy-breezy/plugin-eslint

Package Overview
Dependencies
88
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @easy-breezy/plugin-eslint

Used to format files according to the rules ESLint


Version published
Weekly downloads
80
decreased by-76.88%
Maintainers
1
Install size
3.57 kB
Created
Weekly downloads
 

Readme

Source

The plugin applies eslint to new and modified @easy-breezy/core files.

Installation

You'll first need to install @easy-breezy/core:

# npm
npm install @easy-breezy/core --save-dev

# yarn
yarn add @easy-breezy/core --dev

Next, install @easy-breezy/plugin-eslint:

# npm
npm install @easy-breezy/plugin-eslint --save-dev

# yarn
yarn add @easy-breezy/plugin-eslint --dev

Configuration

ESLint options https://eslint.org/docs/latest/integrate/nodejs-api#parameters

.easy-breezy/config.json

{
    // ...
    "plugins": {
        // ...
        "eslint": {
            // Path pattern
            "*": {
                // ESLint options https://eslint.org/docs/latest/integrate/nodejs-api#parameters
                "extensions": [
                    ".ts",
                    ".tsx"
                ],
                "fix": true
            }
        }
    },
}

After starting, just follow the instructions in the CLI

Keywords

FAQs

Last updated on 28 Feb 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc