Created
November 20, 2024 06:21
-
-
Save yogithesymbian/cf6ea2c8bd44bf700456a200d3eeb2be to your computer and use it in GitHub Desktop.
eslint config clean code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: { | |
complexity: ['error', { max: 6 }], | |
'max-depth': ['error', { max: 2 }], | |
'max-nested-callbacks': ['error', { max: 2 }], | |
'max-params': ['error', { max: 3 }], | |
'max-statements': ['error', { max: 12 }, { ignoreTopLevelFunctions: false }], | |
'max-len': ['error', { code: 120, ignoreUrls: true }], | |
'max-lines': ['error', { max: 200, skipComments: true, skipBlankLines: true }], | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment