Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sota1235/eslint-plugin-sota1235
My original rules.
https://github.com/sota1235/eslint-plugin-sota1235
Last synced: 14 days ago
JSON representation
My original rules.
- Host: GitHub
- URL: https://github.com/sota1235/eslint-plugin-sota1235
- Owner: sota1235
- License: mit
- Created: 2017-03-30T09:06:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-30T09:14:18.000Z (almost 8 years ago)
- Last Synced: 2024-12-24T01:40:26.272Z (15 days ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# eslint-plugin-sota1235
[![Build Status](https://travis-ci.org/sota1235/eslint-config-sota1235.svg?branch=master)](https://travis-ci.org/sota1235/eslint-config-sota1235)
My own rules for [ESLint](http://eslint.org/).
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```Next, install `eslint-plugin-sota1235`:
```
$ npm install eslint-plugin-sota1235 --save-dev
```**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-sota1235` globally.
## Usage
Add `sota1235` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"sota1235"
]
}
```Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"sota1235/rule-name": "error"
}
}
```## Supported Rules
* `no-document-cookie`: Find 'document.cookie' from the code.