Socket
Socket
Sign inDemoInstall

@blitz/eslint-plugin

Package Overview
Dependencies
138
Maintainers
11
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @blitz/eslint-plugin

An ESLint config to enforce a consistent code styles across StackBlitz projects


Version published
Maintainers
11
Created

Readme

Source

@blitz/eslint-plugin

An ESLint plugin to enforce a consistent code styles across StackBlitz projects

Installation

You'll first need to install ESLint:

$ yarn add -D eslint

Next, install @blitz/eslint-plugin:

$ yarn add -D @blitz/eslint-plugin

Note: If you installed ESLint globally (using the -g flag) then you must also install @blitz/eslint-plugin globally.

Usage

Add @blitz/eslint-plugin to the extends section of your .eslintrc.js or .eslintrc.json configuration file and and configure parser and parserOptions. For the plugin, you can omit the eslint-plugin-:

{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2019,
    "sourceType": "module",
    "ecmaFeatures": {
      "modules": true
    }
  },
  "extends": ["plugin:@blitz/recommended"]
}

Custom Rules

Keywords

FAQs

Last updated on 14 Mar 2022

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