@lingdacloud/eslint-config

1.0.3 • Public • Published

@hmteams/eslint-config

说明

基于 eslint-config-airbnb-base 结合个人习惯的eslint风格

安装

npm

npm install @lingdacloud/eslint-config -D

yarn

yarn add @lingdacloud/eslint-config --dev

启用

在项目根目录添加 .eslintrc 文件

{
    "extends": "@lingdacloud/eslint-config",
    "plugins": [
    ],
    "rules": [
    ]
}

集成

  1. Webpack 需要安装 eslint-loader
  2. Rollup 需要安装 rollup-plugin-eslint

Readme

Keywords

none

Package Sidebar

Install

npm i @lingdacloud/eslint-config

Weekly Downloads

1

Version

1.0.3

License

Apache-2.0

Unpacked Size

60.8 kB

Total Files

13

Last publish

Collaborators

  • liyancheng