Skip to content

Commit

Permalink
Update .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Jan 16, 2018
1 parent 724bd11 commit 9033fd7
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions template/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
module.exports = {
root: true,
parser: 'babel-eslint',
env: {
browser: true,
node: true
},
extends: 'standard',
parserOptions: {
parser: 'babel-eslint'
},
extends: [
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
'plugin:vue/essential',
],
// required to lint *.vue files
plugins: [
'html'
'vue'
],
// add your custom rules here
rules: {
'space-before-function-paren': [
2,
{
anonymous: 'always',
named: 'never'
}
],
},
globals: {<% if (server === 'adonis') { %>
use: true,
make: true<% } %>
}
rules: {}
}

0 comments on commit 9033fd7

Please sign in to comment.