Skip to content

Instantly share code, notes, and snippets.

@kovalevsky
Last active September 4, 2019 17:54
Show Gist options
  • Save kovalevsky/2407a2b792c0ff33c3b587f7dd568dbb to your computer and use it in GitHub Desktop.
Save kovalevsky/2407a2b792c0ff33c3b587f7dd568dbb to your computer and use it in GitHub Desktop.
ESLint sample config
extends:
- airbnb-base
- plugin:vue/base
plugins:
- vue
env:
browser: true
rules:
camelcase: error
space-before-function-paren:
- error
- never
semi:
- error
- never
comma-dangle:
- error
- never
function-paren-newline:
- error
- multiline
dot-location:
- error
- property
max-len:
- error
- code: 120
vars-on-top: off
operator-linebreak:
- error
- after
object-shorthand: off
no-unused-vars:
- error
- { argsIgnorePattern: "^_", caughtErrors: all }
import/no-unresolved:
- never
no-param-reassign: off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment