mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-03-15 13:04:50 +00:00
30 lines
717 B
JavaScript
30 lines
717 B
JavaScript
// Please keep in sync with the premium/enterprise eslintrc.js
|
|
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',
|
|
},
|
|
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',
|
|
},
|
|
}
|