Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/o2team/eslint-config-o2team-wx
ESLint Shareable Config for the O2Team WXAPP Style Guide. Based on eslint-config-o2team.
https://github.com/o2team/eslint-config-o2team-wx
Last synced: 8 days ago
JSON representation
ESLint Shareable Config for the O2Team WXAPP Style Guide. Based on eslint-config-o2team.
- Host: GitHub
- URL: https://github.com/o2team/eslint-config-o2team-wx
- Owner: o2team
- License: mit
- Created: 2018-03-01T09:10:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-25T13:42:12.000Z (almost 6 years ago)
- Last Synced: 2025-01-01T20:03:20.756Z (17 days ago)
- Language: JavaScript
- Size: 50.8 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-o2team-wx [![Build Status](https://travis-ci.org/o2team/eslint-config-o2team-wx.svg?branch=master)](https://travis-ci.org/o2team/eslint-config-o2team-wx)
> ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs.html) 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](http://eslint.org/docs/user-guide/configuring).
```js
{
"extends": "o2team-wx",
"rules": {
// Additional, per-project rules...
}
}
```Or you can specifying `eslint-config-o2team-wx` in the `eslintConfig` section of your `package.json`
```json
{
"eslintConfig": {
"extends": "eslint-config-o2team-wx"
}
}
```## [License](LICENSE)