2018-02-08 21:21:28 +00:00
|
|
|
module.exports = {
|
2018-02-08 23:02:36 +00:00
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
browser: true,
|
2018-02-09 18:01:38 +00:00
|
|
|
node: true
|
|
|
|
},
|
|
|
|
parserOptions: {
|
|
|
|
parser: 'babel-eslint'
|
2018-02-08 23:02:36 +00:00
|
|
|
},
|
2018-02-09 18:01:38 +00:00
|
|
|
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/recommended',
|
|
|
|
'airbnb-base'
|
|
|
|
],
|
2018-02-08 23:02:36 +00:00
|
|
|
// required to lint *.vue files
|
|
|
|
plugins: [
|
|
|
|
'vue'
|
|
|
|
],
|
|
|
|
// add your custom rules here
|
2018-02-09 18:01:38 +00:00
|
|
|
rules: {}
|
2018-02-08 23:02:36 +00:00
|
|
|
}
|