1
0
mirror of https://gitlab.com/bramw/baserow.git synced 2024-11-28 10:09:13 +00:00
bramw_baserow/plugin-boilerplate/{{ cookiecutter.project_slug }}/plugins/{{ cookiecutter.project_module }}/web-frontend/.eslintrc.js
2023-04-28 13:00:32 +02:00

30 lines
662 B
JavaScript

module.exports = {
root: true,
env: {
browser: true,
node: true,
jest: true,
// required as jest uses jasmine's fail method
// https://stackoverflow.com/questions/64413927/jest-eslint-fail-is-not-defined
jasmine: true,
},
parserOptions: {
parser: '@babel/eslint-parser',
},
extends: [
'@nuxtjs',
'plugin:nuxt/recommended',
'plugin:prettier/recommended',
'prettier',
],
plugins: ['prettier'],
rules: {
'no-console': 0,
'vue/no-mutating-props': 0,
'prettier/prettier': ['error'],
'import/order': 'off',
'vue/html-self-closing': 'off',
'vue/no-unused-components': 'warn',
},
}