Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-lvmcn

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-lvmcn

Emil's ESLint config with TypeScript support

  • 0.0.60
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-lvmcn

Emil's ESLint config with TypeScript support

Usage

  1. Install config package.

    npm i -D eslint-config-lvmcn
    
  2. Edit your eslint config file.

    // like this
    {
      // ...
      extends: [
        // See possible ${importPath} list in `Requirement` chapter below.
        "lvmcn/${importPath}",
      ],
      // ...
    }
    
    // For example, if you have a typescript react project:
    {
      // ...
      extends: [
        "lvmcn/javascript/react",
        "rules": {
          // your custom override rules for javascript...
        },
      ],
      overrides: [
        {
          files: ["*.ts", "*.tsx", "*.tx"],
          extends: ["lvmcn/typescript/react"],
          "rules": {
            // your custom override rules for typescript...
          },
        }
      ],
      // ...
    }
    

Requirement

Different requirements for different languages and plugins.

Import PathPlugin
javascriptimport, simple-import-sort, promise, unicorn, unused-imports
javascript/basenone
javascript/nodeimport, simple-import-sort, promise, unicorn, unused-imports, node
javascript/reactimport, simple-import-sort, promise, unicorn, unused-imports, react
javascript/vueimport, simple-import-sort, promise, unicorn, unused-imports, vue
typescript@typescript-eslint, etc, import, promise, unicorn, unused-imports
typescript/base@typescript-eslint
typescript/node@typescript-eslint, etc, simple-import-sort, import, promise, unicorn, unused-imports, node
typescript/react@typescript-eslint, etc, simple-import-sort, import, promise, unicorn, unused-imports, react
typescript/vue@typescript-eslint, etc, simple-import-sort, import, promise, unicorn, unused-imports, vue
jsonjson
json/basejson

Keywords

FAQs

Package last updated on 08 Aug 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