Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@wecode/eslint-config-cloudit-base

wecode11MIT1.0.2

WeCode's JS ESLint config, following our styleguide

eslint, eslintconfig, config, airbnb, javascript, styleguide, es2015, es2016, es2017, es2018

readme

办公IT ESLint规范配置

依赖

依赖于ESLint npm包,需要先安装ESLint

yarn add -D eslint

基础规范

安装

yarn add -D @wlk/eslint-config-cloudit-base

修改package.json

在package.json中加入下面这样的配置

  "eslintConfig": {
    "extends": "@wlk/eslint-config-cloudit-base"
  },