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',
|
2022-04-04 20:37:43 +00:00
|
|
|
'vue/multi-word-component-names': 'off',
|
2022-04-12 19:25:44 +00:00
|
|
|
'vue/require-default-prop': 'off'
|
2018-05-20 23:02:10 +00:00
|
|
|
},
|
|
|
|
globals: {
|
2018-06-29 13:37:25 +00:00
|
|
|
'tainacan_plugin': true,
|
2021-06-14 20:59:40 +00:00
|
|
|
'tainacan_blocks': true,
|
2018-07-18 19:38:17 +00:00
|
|
|
'_': true,
|
2020-03-02 19:54:44 +00:00
|
|
|
'jQuery': true,
|
|
|
|
'tainacan_extra_components': true,
|
2020-10-15 14:49:13 +00:00
|
|
|
'tainacan_extra_plugins': true,
|
|
|
|
'grecaptcha': true
|
2018-05-17 18:45:01 +00:00
|
|
|
}
|
2018-03-23 13:20:37 +00:00
|
|
|
}
|