Socket
Book a DemoInstallSign in
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

latest
Source
npmnpm
Version
0.0.60
Version published
Maintainers
1
Created
Source

eslint-config-lvmcn

Emil's ESLint config with TypeScript support

Usage

  • Install config package.

    npm i -D eslint-config-lvmcn
    
  • 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

lvmcn

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.