Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #47 from crazy-max/update-dev
chore: update dev dependencies and workflow
  • Loading branch information
CrazyMax authored and GitHub committed Mar 22, 2022
2 parents 95bd865 + 224b802 commit 2d4bfe7
Show file tree
Hide file tree
Showing 12 changed files with 1,071 additions and 3,182 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,20 @@
{
"env": {
"node": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
]
}
8 changes: 4 additions & 4 deletions hack/build.Dockerfile → dev.Dockerfile
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1.3-labs
# syntax=docker/dockerfile:1

ARG NODE_VERSION
ARG NODE_VERSION=12

FROM node:${NODE_VERSION}-alpine AS base
RUN apk add --no-cache cpio findutils git
Expand Down Expand Up @@ -55,7 +55,7 @@ RUN --mount=type=bind,target=.,rw \
FROM scratch AS format-update
COPY --from=format /out /

FROM deps AS format-validate
FROM deps AS lint
RUN --mount=type=bind,target=.,rw \
--mount=type=cache,target=/src/node_modules \
yarn run format-check
yarn run lint

0 comments on commit 2d4bfe7

Please sign in to comment.