w-eslint-config
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

@weier/w-eslint-config

  • 描述包的作用
// 安装
npm i @weier/w-eslint-config -S

// 代码引入(可选)
import WEslintConfig from '@weier/w-eslint-config'

// .eslintrc.js
module.exports = {
  // eslint 除了 rule 以外的其他配置
  ...
  rules: {
    ...WEslintConfig
    // 可以去做复写替换
  },
  ...
};

参数说明

0:不校验,1:警告,2:禁止,[0, ....]:看具体规则,每个规则不一致,属于额外的 options

规则罗列

其他

作者:基础建设组-尘寂

Readme

Keywords

none

Package Sidebar

Install

npm i w-eslint-config

Weekly Downloads

2

Version

0.1.7

License

none

Unpacked Size

58 kB

Total Files

4

Last publish

Collaborators

  • fengye12