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:
parent
f429bb3ef5
commit
e7e8483253
2 changed files with 0 additions and 25 deletions
plugin-boilerplate/{{ cookiecutter.project_slug }}/settings
web-frontend/config
|
@ -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',
|
||||
|
|
|
@ -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 },
|
||||
|
|
Loading…
Add table
Reference in a new issue