0.0.1 • Published 8 years ago
eslint-config-tencentvfe v0.0.1
ESLint config
Tencent Video fe recommended ESLint rules for ECMAScript. Install this package and then extend the config in your .eslintrc
:
Usage
Install the required packages:
tnpm install eslint eslint-config-tencentvfe --save-dev
Then extend the config in your .eslintrc
:
{
"extends": ["tencentvfe"]
}
or
npm scripts
"scripts": {
"lint": "eslint src"
},
or
package.json
"eslintConfig":{
"parser": "babel-eslint",
"extends": ["tencentvfe"]
}
Doc
0.0.1
8 years ago