2.0.4 • Published 3 years ago

eslint-config-aliyun v2.0.4

Weekly downloads
61
License
-
Repository
github
Last release
3 years ago

eslint-config-aliyun

ESLint shareable config for the Aliyun style

Install

$ npm install --save-dev eslint eslint-config-aliyun eslint-plugin-react babel-eslint

Usage

Add some ESLint config to your package.json:

{
	"scripts": {
		"lint": "eslint --ext .js --ext .jsx --ignore-path .gitignore ."
	},
	"eslintConfig": {
		"extends": "aliyun"
	}
}

Then lint with $ npm run lint.