Created
February 15, 2023 07:29
-
-
Save valbaca/bdac03672cd7588faef33cb3f25433ec to your computer and use it in GitHub Desktop.
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
module.exports = { | |
env: { | |
es2021: true, | |
node: true | |
}, | |
extends: 'eslint:recommended', | |
overrides: [], | |
parserOptions: { | |
ecmaVersion: 'latest', | |
sourceType: 'module' | |
}, | |
rules: { | |
'indent': ['error', 2], | |
'linebreak-style': ['error', 'unix'], | |
'quotes': ['error', 'single'], | |
'semi': ['error', 'never'], | |
'eqeqeq': 'error', | |
'no-trailing-spaces': 'error', | |
'object-curly-spacing': [ | |
'error', 'always' | |
], | |
'arrow-spacing': [ | |
'error', { 'before': true, 'after': true } | |
], | |
'no-console': 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment