Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@imwebme/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imwebme/eslint-config

imweb ESLint configs for Javascript

latest
Source
npmnpm
Version
1.2.4
Version published
Maintainers
5
Created
Source

Publish Package to Github Publish Package to NPM

@imwebme/eslint-config

A rule set of imwebme's ESLint configurations

Installation

npm install --save-dev @imwebme/eslint-config

or

yarn --dev @imwebme/eslint-config

Usage

Javascript

.eslintrc.js

module.exports = {
  extends: [
    '@imwebme/eslint-config'
  ]
}

.eslintrc

{
  "extends": [
    "@imwebme/eslint-config"
  ]
}

@imwebme/eslint-config/typescript

  • @typescript-eslint/eslint-plugin
  • typescript

Typescript

.eslintrc.js

module.exports = {
  extends: [
    '@imwebme/eslint-config',
    '@imwebme/eslint-config/typescript'
  ]
}

.eslintrc

{
  "extends": [
    "@imwebme/eslint-config",
    "@imwebme/eslint-config/typescript"
  ]
}

@imwebme/eslint-config/react

  • eslint-plugin-react

Javascript + React

.eslintrc.js

{
  "extends": [
    '@imwebme/eslint-config',
    '@imwebme/eslint-config/react',
  ],
}

.eslintrc

{
  "extends": [
    "@imwebme/eslint-config",
    "@imwebme/eslint-config/react"
  ]
}

Typescript + React

.eslintrc.js

module.exports = {
  extends: [
    '@imwebme/eslint-config',
    '@imwebme/eslint-config/typescript',
    '@imwebme/eslint-config/react'
  ]
}

.eslintrc

{
  "extends": [
    "@imwebme/eslint-config",
    "@imwebme/eslint-config/typescript",
    "@imwebme/eslint-config/react"
  ]
}

@imwebme/eslint-config/prettier

  • eslint-plugin-prettier

Prettier

.prettierrc

{
  "extends": [
    '@imwebme/eslint-config',
    '@imwebme/eslint-config/prettier',
  ],
}

Keywords

eslint

FAQs

Package last updated on 13 Apr 2023

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