https://github.com/solodynamo/eslint-plugin-media
An attempt which is in WIP
https://github.com/solodynamo/eslint-plugin-media
Last synced: about 1 month ago
JSON representation
An attempt which is in WIP
- Host: GitHub
- URL: https://github.com/solodynamo/eslint-plugin-media
- Owner: solodynamo
- Created: 2017-10-24T13:54:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T15:03:23.000Z (over 8 years ago)
- Last Synced: 2025-01-19T07:11:41.950Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-media
...
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```
Next, install `eslint-plugin-media`:
```
$ npm install eslint-plugin-media --save-dev
```
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-media` globally.
## Usage
Add `media` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"media"
]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"media/rule-name": 2
}
}
```
## Supported Rules
* Fill in provided rules here