Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 946 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 946 Bytes

eslint-config-o2team-wx Build Status

ESLint Shareable Config for WXAPP based on the O2Team Javascript Style Guide

Installation

$ npm install --save-dev eslint eslint-config-o2team-wx

Usage

eslint-config-o2team-wx

Once the eslint-config-o2team-wx package is installed, you can use it by specifying o2team-wx in the extends section of your ESLint configuration.

{
  "extends": "o2team-wx",
  "rules": {
    // Additional, per-project rules...
  }
}

Or you can specifying eslint-config-o2team-wx in the eslintConfig section of your package.json

{
  "eslintConfig": {
    "extends": "eslint-config-o2team-wx"
  }
}