Skip to content

Commit

Permalink
chore: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerh2001 committed Jun 15, 2024
1 parent 13f17df commit 5e99a08
Showing 1 changed file with 0 additions and 52 deletions.
52 changes: 0 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,45 +11,6 @@ This repository contains custom ESLint rules to enhance code quality and consist

This repository contains custom ESLint rules to enhance code quality and consistency across projects, created by Tomer Horowitz.

## Configurations

### All
To add all of the rules into your project, add the following configuration into your ESLint configuration file:

```json
{
"extends": ["plugin:th-rules/all"]
}
```

### All React
```json
{
"extends": ["plugin:th-rules/all-react"]
}
```

### All React Native
```json
{
"extends": ["plugin:th-rules/all-react-native"]
}
```

### Recommended
```json
{
"extends": ["plugin:th-rules/recommended"]
}
```

### Basic
```json
{
"extends": ["plugin:th-rules/basic"]
}
```

## Rules

### 1. No-destructuring Rule
Expand Down Expand Up @@ -98,16 +59,3 @@ This rule targets unnamed default exports and automatically generates a named ex
}
}
```

## Installation
```json
{
"plugins": [
"th-rules"
],
"rules": {
"no-destructuring": "error",
"no-default-export": "error"
}
}
```

0 comments on commit 5e99a08

Please sign in to comment.