Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ldgit/eslint-plugin-adriatichr

Just an experiment with writing custom eslint plugins.
https://github.com/ldgit/eslint-plugin-adriatichr

Last synced: 23 days ago
JSON representation

Just an experiment with writing custom eslint plugins.

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`