Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nimjetushar/eslint-rules
Standard eslint rules
https://github.com/nimjetushar/eslint-rules
eslint eslint-config eslint-react eslint-react-config eslint-rules javascript
Last synced: 22 days ago
JSON representation
Standard eslint rules
- Host: GitHub
- URL: https://github.com/nimjetushar/eslint-rules
- Owner: nimjetushar
- License: mit
- Created: 2020-05-14T14:28:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T23:56:50.000Z (over 1 year ago)
- Last Synced: 2024-10-12T00:27:14.241Z (about 1 month ago)
- Topics: eslint, eslint-config, eslint-react, eslint-react-config, eslint-rules, javascript
- Language: JavaScript
- Size: 120 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-rules
[![Build Status](https://semaphoreci.com/api/v1/nimjetushar/eslint-rules/branches/master/shields_badge.svg)](https://semaphoreci.com/nimjetushar/eslint-rules)
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=nimjetushar/eslint-rules)](https://dependabot.com)
![npm](https://img.shields.io/npm/v/@fourjs/eslint-config-tn)
[![GitHub license](https://img.shields.io/github/license/nimjetushar/eslint-rules)](https://github.com/nimjetushar/eslint-rules/blob/master/LICENSE)Standard eslint rules
## Installation
``` npm i @fourjs/eslint-config-tn -D ```
## Setup
Extend @fourjs/eslint-config-tn to apply rules.
```
{
"extends": [
"@fourjs/eslint-config-tn"
],
"parser": "babel-eslint"
}
```Override rules by adding rules as mentioned below
```
{
"extends": [
"@fourjs/eslint-config-tn"
],
"parser": "babel-eslint",
"rules": {
...
}
}
```Provides different type of linting's which can be extented
```
@fourjs/eslint-config-tn -> This provides lint rules for your Javascript code@fourjs/eslint-config-tn/jest -> This provides lint rule for jest unit tests
@fourjs/eslint-config-tn/react -> This provides lint rule for React code
@fourjs/eslint-config-tn/all -> This combines all rules for Javascript, Jest and React
```