Skip to content

Instantly share code, notes, and snippets.

@iliran11
Created July 26, 2017 16:04
Show Gist options
  • Save iliran11/cf0ba3729e9c0919d2ac22b065200ec7 to your computer and use it in GitHub Desktop.
Save iliran11/cf0ba3729e9c0919d2ac22b065200ec7 to your computer and use it in GitHub Desktop.
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// 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,
'space-before-function-paren': 0,
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'semi': 0,
'eol-last': 0
}
}
Copy link

ghost commented Jul 26, 2017

I like your code, where are you from?

@iliran11
Copy link
Author

Israel here. whats up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment