https://github.com/jquery/eslint-config-jquery
jQuery's eslint config, enforcing the jQuery styleguide
https://github.com/jquery/eslint-config-jquery
Last synced: 8 months ago
JSON representation
jQuery's eslint config, enforcing the jQuery styleguide
- Host: GitHub
- URL: https://github.com/jquery/eslint-config-jquery
- Owner: jquery
- License: mit
- Created: 2016-04-18T16:41:51.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T16:44:21.000Z (over 2 years ago)
- Last Synced: 2025-01-29T13:03:20.312Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://contribute.jquery.org/style-guide/js/
- Size: 167 KB
- Stars: 32
- Watchers: 11
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# 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.