Skip to content

Instantly share code, notes, and snippets.

@ryanmr
Created March 16, 2017 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanmr/6ee8808cadcd655a5f2f5cf9782b66e5 to your computer and use it in GitHub Desktop.
Save ryanmr/6ee8808cadcd655a5f2f5cf9782b66e5 to your computer and use it in GitHub Desktop.
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to lint *.vue files
plugins: [
'html'
],
// add your custom rules here
'rules': {
// allow paren-less arrow functions
'arrow-parens': 0,
// allow async-await
'generator-star-spacing': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'space-before-function-paren': 0,
'semi': 0,
'quotes': 0,
// added below
'no-multiple-empty-lines': 0,
'no-unexpected-multiline': 0,
'func-call-spacing': 0,
'no-duplicate-imports': 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment