Skip to content

Commit 2d94145

Browse files
committed
feat(lint): fix pylint, add support for golangci-lint
1 parent 925f484 commit 2d94145

File tree

8 files changed

+13426
-76
lines changed

8 files changed

+13426
-76
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ RUN npm install
66
COPY . .
77
RUN npm run build
88

9+
RUN pip3 install pylint
910

10-
FROM node:14-alpine
11+
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.41.1 && cp ~/bin/golangci-lint /usr/local/bin/golangci-lint
1112

12-
WORKDIR /app
13-
COPY --from=builder /app ./
1413
CMD ["npm", "run", "start:prod"]

0 commit comments

Comments
 (0)