Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexandershushunov/eslint-plugin-no-x
Attempt to write eslint plugin
https://github.com/alexandershushunov/eslint-plugin-no-x
Last synced: 23 days ago
JSON representation
Attempt to write eslint plugin
- Host: GitHub
- URL: https://github.com/alexandershushunov/eslint-plugin-no-x
- Owner: AlexanderShushunov
- Created: 2019-03-23T21:18:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T22:48:50.000Z (over 3 years ago)
- Last Synced: 2024-04-23T20:26:31.503Z (8 months ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-no-x
No x in names of classes
This is experiment to write rule. It was not published.
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```Next, install `eslint-plugin-no-x`:
```
$ npm install eslint-plugin-no-x --save-dev
```**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-no-x` globally.
## Usage
Add `no-x` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"no-x"
]
}
```Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"no-x/rule-name": 2
}
}
```## Supported Rules
* Fill in provided rules here