feat(eslint): Rule "max-lines-per-function"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -65,7 +65,7 @@
 | 
				
			|||||||
- [ ] "max-depth"
 | 
					- [ ] "max-depth"
 | 
				
			||||||
- [X] "max-len"
 | 
					- [X] "max-len"
 | 
				
			||||||
- [X] "max-lines"
 | 
					- [X] "max-lines"
 | 
				
			||||||
- [ ] "max-lines-per-function"
 | 
					- [X] "max-lines-per-function"
 | 
				
			||||||
- [ ] "max-nested-callbacks"
 | 
					- [ ] "max-nested-callbacks"
 | 
				
			||||||
- [ ] "max-params"
 | 
					- [ ] "max-params"
 | 
				
			||||||
- [X] "max-statements"
 | 
					- [X] "max-statements"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -155,6 +155,15 @@
 | 
				
			|||||||
  "max-lines": [
 | 
					  "max-lines": [
 | 
				
			||||||
    "off"
 | 
					    "off"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 | 
					  "max-lines-per-function": [
 | 
				
			||||||
 | 
					    "warn",
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      "IIFEs": false,
 | 
				
			||||||
 | 
					      "max": 128,
 | 
				
			||||||
 | 
					      "skipBlankLines": true,
 | 
				
			||||||
 | 
					      "skipComments": true
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
  "max-statements": [
 | 
					  "max-statements": [
 | 
				
			||||||
    "off"
 | 
					    "off"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user