Socket
Socket
Sign inDemoInstall

@w6s/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@w6s/eslint-config

WorkPlus FE eslint config


Version published
Maintainers
2
Created
Source

Eslint Config of WorkPlusFE

2.0 only supports vue3. If it is vue2, please use version 1.x

Install

// npm
npm i eslint prettier @w6s/eslint-config -D

// yarn
yarn add eslint prettier @w6s/eslint-config --dev

Usage

{
  "extends": ["@w6s"]
}

Rules

{
  'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  'no-alert': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
  'no-restricted-syntax': 'off',
  'import/no-cycle': 'off',
  'import/no-unresolved': 'off',
  'import/extensions': 'off',
  'import/prefer-default-export': 'off',
  'class-methods-use-this': 'off',
  'object-curly-newline': 'off',
  'no-param-reassign': 'off',
  'implicit-arrow-linebreak': 'off',
  'consistent-return': 'off',
  '@typescript-eslint/no-explicit-any': 'off',
  '@typescript-eslint/explicit-function-return-type': 'off',
  '@typescript-eslint/no-var-requires': 'off',
}

Keywords

FAQs

Package last updated on 23 Oct 2021

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