1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-15 01:28:30 +00:00

Stop linting front-end on file changes in development

This commit is contained in:
Petr Stribny 2022-02-01 13:16:13 +01:00
parent f429bb3ef5
commit e7e8483253
2 changed files with 0 additions and 25 deletions
plugin-boilerplate/{{ cookiecutter.project_slug }}/settings
web-frontend/config

View file

@ -4,20 +4,6 @@ import baseConfig from './nuxt.config.base'
export default Object.assign(baseConfig, {
build: {
extend(config, ctx) {
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/,
options: {
configFile: '/baserow/web-frontend/.eslintrc.js',
},
})
}
},
plugins: [
new StyleLintPlugin({
syntax: 'scss',

View file

@ -14,17 +14,6 @@ export default Object.assign(base(), {
dev: true,
build: {
extend(config, ctx) {
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,
loader: 'eslint-loader',
exclude: /(node_modules)/,
options: {
configFile: '/baserow/web-frontend/.eslintrc.js',
},
})
}
config.node = { fs: 'empty' }
},
babel: { compact: true },