0.0.1 • Published 8 years ago

eslint-config-tencentvfe v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

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

List of available rules - ESLint