Package Exports
- eslint-config-aliyun
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-aliyun) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
.