File tree Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Original file line number Diff line number Diff line change @@ -11,45 +11,6 @@ This repository contains custom ESLint rules to enhance code quality and consist
1111
1212This repository contains custom ESLint rules to enhance code quality and consistency across projects, created by Tomer Horowitz.
1313
14- ## Configurations
15-
16- ### All
17- To add all of the rules into your project, add the following configuration into your ESLint configuration file:
18-
19- ``` json
20- {
21- "extends" : [" plugin:th-rules/all" ]
22- }
23- ```
24-
25- ### All React
26- ``` json
27- {
28- "extends" : [" plugin:th-rules/all-react" ]
29- }
30- ```
31-
32- ### All React Native
33- ``` json
34- {
35- "extends" : [" plugin:th-rules/all-react-native" ]
36- }
37- ```
38-
39- ### Recommended
40- ``` json
41- {
42- "extends" : [" plugin:th-rules/recommended" ]
43- }
44- ```
45-
46- ### Basic
47- ``` json
48- {
49- "extends" : [" plugin:th-rules/basic" ]
50- }
51- ```
52-
5314## Rules
5415
5516### 1. No-destructuring Rule
@@ -98,16 +59,3 @@ This rule targets unnamed default exports and automatically generates a named ex
9859 }
9960}
10061```
101-
102- ## Installation
103- ``` json
104- {
105- "plugins" : [
106- " th-rules"
107- ],
108- "rules" : {
109- "no-destructuring" : " error" ,
110- "no-default-export" : " error"
111- }
112- }
113- ```
You can’t perform that action at this time.
0 commit comments