https://github.com/m99coder/eslint-plugin-m99coder
A collection of useful ESLint rules
https://github.com/m99coder/eslint-plugin-m99coder
Last synced: about 1 month ago
JSON representation
A collection of useful ESLint rules
- Host: GitHub
- URL: https://github.com/m99coder/eslint-plugin-m99coder
- Owner: m99coder
- Created: 2016-07-28T19:24:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T18:27:17.000Z (over 3 years ago)
- Last Synced: 2025-10-20T12:40:51.345Z (6 months ago)
- Language: JavaScript
- Size: 303 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint plugin m99coder [](https://www.npmjs.com/package/eslint-plugin-m99coder) [](https://www.npmjs.com/package/eslint-plugin-m99coder)
> A collection of useful ESLint rules.
[](https://travis-ci.org/m99coder/eslint-plugin-m99coder)
[](https://coveralls.io/github/m99coder/eslint-plugin-m99coder)
[](https://david-dm.org/m99coder/eslint-plugin-m99coder)
[](https://david-dm.org/m99coder/eslint-plugin-m99coder#info=devDependencies)
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```
Next, install `eslint-config-m99coder` and `eslint-plugin-m99coder`:
```
$ npm install eslint-config-m99coder eslint-plugin-m99coder --save-dev
```
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install the packages globally.
## Usage
Add `m99coder` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"m99coder"
]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"m99coder/rule-name": 2
}
}
```
## Supported Rules
* `vars-on-top`