eslint-config-aliyun

2.0.4 • Public • Published

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.

Package Sidebar

Install

npm i eslint-config-aliyun

Weekly Downloads

23

Version

2.0.4

License

none

Unpacked Size

4.87 kB

Total Files

3

Last publish

Collaborators

  • hqidea
  • cctv1005s