Skip to content

Instantly share code, notes, and snippets.

@valbaca
Created February 15, 2023 07:29
Show Gist options
  • Save valbaca/bdac03672cd7588faef33cb3f25433ec to your computer and use it in GitHub Desktop.
Save valbaca/bdac03672cd7588faef33cb3f25433ec to your computer and use it in GitHub Desktop.
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