tainacan/.eslintrc.js

26 lines
773 B
JavaScript
Raw Normal View History

2018-03-23 13:20:37 +00:00
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/require-v-for-key': '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,
'jQuery': true
}
2018-03-23 13:20:37 +00:00
}