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: {
|
2020-04-28 21:09:45 +00:00
|
|
|
'ecmaVersion': 2018
|
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',
|
2020-04-28 21:09:45 +00:00
|
|
|
'vue/no-v-html': 'off',
|
2018-05-20 23:02:10 +00:00
|
|
|
'vue/html-indent': 'off',
|
2020-01-14 17:57:10 +00:00
|
|
|
'vue/attributes-order': 'off',
|
2020-04-28 21:09:45 +00:00
|
|
|
'vue/html-closing-bracket-spacing': 'off',
|
|
|
|
'vue/html-closing-bracket-newline': 'off',
|
|
|
|
'vue/require-prop-type-constructor': 'off',
|
|
|
|
'vue/singleline-html-element-content-newline': 'off',
|
|
|
|
'vue/multiline-html-element-content-newline': 'off',
|
|
|
|
'vue/prop-name-casing': 'off',
|
2020-01-14 17:57:10 +00:00
|
|
|
'vue/no-confusing-v-for-v-if': 'off',
|
2020-04-28 21:09:45 +00:00
|
|
|
'vue/no-use-v-if-with-v-for': 'off',
|
|
|
|
'vue/require-default-prop': 'off' // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/require-default-prop.md
|
2018-05-20 23:02:10 +00:00
|
|
|
},
|
|
|
|
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
|
|
|
}
|