https://github.com/jacobsmith/jacobsmith-eslint-plugins
https://github.com/jacobsmith/jacobsmith-eslint-plugins
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jacobsmith/jacobsmith-eslint-plugins
- Owner: jacobsmith
- Created: 2018-12-19T16:58:46.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-19T17:54:31.000Z (over 7 years ago)
- Last Synced: 2025-09-30T05:35:44.027Z (10 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-jacobsmith-custom
A collection of eslint rules customized for the programming styles of Jacob Smith.
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```
Next, install `eslint-plugin-jacobsmith-custom`:
```
$ npm install eslint-plugin-jacobsmith-custom --save-dev
```
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-jacobsmith-custom` globally.
## Usage
Add `jacobsmith-custom` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"jacobsmith-custom"
]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"jacobsmith-custom/alphabetize-object-keys": 2
}
}
```
## Supported Rules
* alphabetize-object-keys