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-04-28 21:09:45 +00:00
|
|
|
'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',
|
2023-07-10 17:27:42 +00:00
|
|
|
"vue/no-v-for-template-key": 'off', // In Vue3, this rule is deprecated
|
2023-07-10 21:16:07 +00:00
|
|
|
"vue/no-v-model-argument": "off", // ADD
|
2022-04-04 20:37:43 +00:00
|
|
|
'vue/multi-word-component-names': 'off',
|
2022-06-22 15:24:59 +00:00
|
|
|
'vue/require-default-prop': 'off',
|
2023-12-06 18:09:41 +00:00
|
|
|
'vue/no-v-text-v-html-on-component': 'off',
|
|
|
|
'vue/no-multiple-template-root': 'off' // In Vue3, this rule is deprecated
|
2018-05-20 23:02:10 +00:00
|
|
|
},
|
|
|
|
globals: {
|
2022-06-22 12:59:16 +00:00
|
|
|
'wp': true,
|
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,
|
2022-06-30 15:18:12 +00:00
|
|
|
'grecaptcha': true,
|
|
|
|
'webkit': true
|
2018-05-17 18:45:01 +00:00
|
|
|
}
|
2018-03-23 13:20:37 +00:00
|
|
|
}
|