2020-01-29 17:40:15 +01:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
parserOptions: {
|
2022-01-30 11:14:15 +01:00
|
|
|
parser: '@babel/eslint-parser',
|
|
|
|
requireConfigFile: false,
|
|
|
|
babelOptions: {
|
|
|
|
presets: ["@babel/preset-react"]
|
|
|
|
}
|
2020-01-29 17:40:15 +01:00
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'@nuxtjs',
|
|
|
|
'plugin:nuxt/recommended'
|
|
|
|
],
|
|
|
|
// add your custom rules here
|
|
|
|
rules: {
|
|
|
|
'vue/html-indent': ['error', 4],
|
|
|
|
'vue/html-closing-bracket-newline': 'off',
|
|
|
|
'indent': [2, 4],
|
|
|
|
'no-tabs': 'off',
|
|
|
|
"no-console": 0,
|
|
|
|
"camelcase": ["error", {properties: "never"}]
|
|
|
|
}
|
|
|
|
}
|