Skip to content

yonyou-cloud/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Style Guide

@yonyou-cloud/eslint-config

eslint-config for yonyou-cloud.

Usage

npm i eslint @yonyou-cloud/eslint-config -D
// .eslintrc.js for js.
module.exports = {
  extends: ['@yonyou-cloud/eslint-config']
}

// .eslintrc.js for react.
module.exports = {
  extends: ['@yonyou-cloud/eslint-config/react']
}

// .eslintrc.js for vue.
module.exports = {
  extends: ['@yonyou-cloud/eslint-config/vue']
}

Refs