chore: update eslint configuration and adjust docker command [skip ci] (#4101)
parent
5b56c300ab
commit
992b9bae6c
|
@ -183,7 +183,7 @@
|
||||||
"*.env": "$(capture).env.*",
|
"*.env": "$(capture).env.*",
|
||||||
"README.md": "README*,CHANGELOG*,LICENSE,CNAME",
|
"README.md": "README*,CHANGELOG*,LICENSE,CNAME",
|
||||||
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,.gitattributes,.gitignore,.gitpod.yml,.npmrc,.browserslistrc,.node-version,.git*,.tazerc.json",
|
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,.gitattributes,.gitignore,.gitpod.yml,.npmrc,.browserslistrc,.node-version,.git*,.tazerc.json",
|
||||||
"Dockerfile": "Dockerfile,.docker*,docker-entrypoint.sh,build-local-docker*",
|
"Dockerfile": "Dockerfile,.docker*,docker-entrypoint.sh,build-local-docker*,nginx.conf",
|
||||||
"eslint.config.mjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,stylelint.config.*,.lintstagedrc.mjs,.ls-lint*,cspell.json",
|
"eslint.config.mjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,stylelint.config.*,.lintstagedrc.mjs,.ls-lint*,cspell.json",
|
||||||
"tailwind.config.mjs": "postcss.*"
|
"tailwind.config.mjs": "postcss.*"
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,7 @@ FROM nginx:stable-alpine as production
|
||||||
RUN echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/mjs.conf
|
RUN echo "types { application/javascript js mjs; }" > /etc/nginx/conf.d/mjs.conf
|
||||||
COPY --from=builder /app/apps/web-antd/dist /usr/share/nginx/html
|
COPY --from=builder /app/apps/web-antd/dist /usr/share/nginx/html
|
||||||
|
|
||||||
COPY ./deploy/nginx.conf /etc/nginx/nginx.conf
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,13 @@ const customConfig: Linter.Config[] = [
|
||||||
'vue/require-default-prop': 'off',
|
'vue/require-default-prop': 'off',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
files: ['packages/effects/**/**', 'packages/types/**/**'],
|
||||||
|
ignores: restrictedImportIgnores,
|
||||||
|
rules: {
|
||||||
|
'perfectionist/sort-interfaces': 'off',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// apps内部的一些基础规则
|
// apps内部的一些基础规则
|
||||||
files: ['apps/**/**'],
|
files: ['apps/**/**'],
|
||||||
|
@ -46,6 +53,7 @@ const customConfig: Linter.Config[] = [
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
'perfectionist/sort-interfaces': 'off',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -73,15 +73,3 @@ http {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# stream { # stream 模块配置和 http 模块在相同级别
|
|
||||||
# upstream redis {
|
|
||||||
# server 127.0.0.1:6379 max_fails=3 fail_timeout=30s;
|
|
||||||
# }
|
|
||||||
# server {
|
|
||||||
# listen 16379;
|
|
||||||
# proxy_connect_timeout 1s;
|
|
||||||
# proxy_timeout 3s;
|
|
||||||
# proxy_pass redis;
|
|
||||||
# }
|
|
||||||
# }
|
|
Loading…
Reference in New Issue