https://github.com/ldgit/eslint-plugin-adriatichr
Just an experiment with writing custom eslint plugins.
https://github.com/ldgit/eslint-plugin-adriatichr
Last synced: 12 months ago
JSON representation
Just an experiment with writing custom eslint plugins.
- Host: GitHub
- URL: https://github.com/ldgit/eslint-plugin-adriatichr
- Owner: ldgit
- Created: 2019-07-22T21:14:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T05:05:32.000Z (over 3 years ago)
- Last Synced: 2025-03-31T08:15:02.327Z (about 1 year ago)
- Language: JavaScript
- Size: 673 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-adriatichr
Just an experiment for eventual use of custom lint rules in Adriatic.hr, company I work for.
## Usage
Add `adriatichr` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": ["adriatichr"]
}
```
Then configure the rules you want to use under the rules section.
```json
{
"rules": {
"adriatichr/rule-name": 2
}
}
```
## Supported Rules
- `no-relative-paths`
- `selector-class-naming`