Files
2025-07-24 17:21:45 +08:00

25 lines
601 B
Markdown

[![Build Status](https://travis-ci.org/jquery/eslint-config-jquery.svg)](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.