@dakingindanorf/hive
Version:
A template for creating a nuxt generated static site using Netlify CMS to power the backend. Individual site components can be managed through Bit
54 lines (53 loc) • 1.48 kB
JavaScript
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'@nuxtjs',
'plugin:nuxt/recommended'
],
plugins: ['vue'],
rules: {
'indent': ['error', 4],
'no-mixed-spaces-and-tabs': ['error', 'smart-tabs'],
'object-shorthand': 'off',
'camelcase': ['error', { 'properties': 'never' }],
'quote-props': ['error', 'consistent'],
'space-before-function-paren': ['error', 'never'],
'vue/html-indent': ['error', 4],
'vue/require-default-prop': 'off',
'vue/script-indent': ['error', 4],
'vue/html-self-closing': ['error', {
'html': {
'normal': 'never'
}
}],
'vue/max-attributes-per-line': ['error', {
'singleline': 5,
'multiline': {
'allowFirstLine': true
}
}],
'vue/attributes-order': ['error', {
'order': [
'GLOBAL',
'TWO_WAY_BINDING',
'CONDITIONALS',
'LIST_RENDERING',
'UNIQUE',
'DEFINITION',
'RENDER_MODIFIERS',
'OTHER_DIRECTIVES',
'OTHER_ATTR',
'EVENTS',
'CONTENT'
]
}],
'vue/singleline-html-element-content-newline': 0
}
}