tainacan/.eslintrc.js

24 lines
709 B
JavaScript

module.exports = {
extends: [
// add more generic rulesets here, such as:
'eslint:recommended',
'plugin:vue/strongly-recommended'
],
parserOptions: {
'ecmaVersion': 2017
},
rules: {
// override/add rules settings here, such as:
'no-extra-boolean-cast': 'off',
'vue/no-unused-vars': 'error',
'no-console': 'warn',
'no-unused-vars': 'warn',
'no-undef': 'warn',
'vue/html-indent': 'off',
'vue/require-default-prop': 'off', // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/require-default-prop.md
},
globals: {
'tainacan_plugin': true,
'_': true
}
}