2018-03-23 13:20:37 +00:00
|
|
|
module.exports = {
|
2018-05-17 18:45:01 +00:00
|
|
|
extends: [
|
|
|
|
// add more generic rulesets here, such as:
|
|
|
|
'eslint:recommended',
|
2020-01-14 17:57:10 +00:00
|
|
|
'plugin:vue/recommended'
|
2018-05-17 18:45:01 +00:00
|
|
|
],
|
|
|
|
parserOptions: {
|
2018-05-20 23:02:10 +00:00
|
|
|
'ecmaVersion': 2017
|
2018-05-17 18:45:01 +00:00
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
// override/add rules settings here, such as:
|
|
|
|
'vue/no-unused-vars': 'error',
|
2018-05-20 23:02:10 +00:00
|
|
|
'no-console': 'warn',
|
|
|
|
'no-unused-vars': 'warn',
|
|
|
|
'no-undef': 'warn',
|
|
|
|
'vue/html-indent': 'off',
|
2020-01-14 17:57:10 +00:00
|
|
|
'vue/attributes-order': 'off',
|
|
|
|
'vue/no-confusing-v-for-v-if': 'off',
|
2018-05-20 23:02:10 +00:00
|
|
|
'vue/require-default-prop': 'off', // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/require-default-prop.md
|
|
|
|
},
|
|
|
|
globals: {
|
2018-06-29 13:37:25 +00:00
|
|
|
'tainacan_plugin': true,
|
2018-07-18 19:38:17 +00:00
|
|
|
'_': true,
|
2020-03-02 19:54:44 +00:00
|
|
|
'jQuery': true,
|
|
|
|
'tainacan_extra_components': true,
|
|
|
|
'tainacan_extra_plugins': true
|
2018-05-17 18:45:01 +00:00
|
|
|
}
|
2018-03-23 13:20:37 +00:00
|
|
|
}
|