25 lines
601 B
Markdown
25 lines
601 B
Markdown
[](https://travis-ci.org/jquery/eslint-config-jquery)
|
|
|
|
# jQuery eslint config
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
npm install --save-dev eslint-config-jquery
|
|
```
|
|
|
|
Configure ESLint with a `.eslintrc` file using the following contents:
|
|
```json
|
|
{
|
|
"extends": "jquery"
|
|
}
|
|
```
|
|
|
|
## Status
|
|
|
|
This config follows the spirit of the jQuery [code style](https://contribute.jquery.org/style-guide/js/), does not violate it and extends it.
|
|
|
|
## Semver policy
|
|
|
|
Same approach as in ESLint, see https://github.com/eslint/eslint#user-content-semantic-versioning-policy.
|