Eslint with eslint-plugin-react-hooks and @babel/preset-react
1.2K
2.2
# 0.72 is the last version with eslint 8
FROM pipelinecomponents/eslint:0.72.0
WORKDIR /app/
RUN yarn config set registry https://registry.npmjs.org/
RUN yarn add \
eslint-plugin-react-hooks \
[email protected] \
[email protected] \
[email protected] \
@typescript-eslint/[email protected] \
[email protected] \
@typescript-eslint/[email protected] \
@babel/preset-react \
eslint-import-resolver-alias \
eslint-import-resolver-typescript \
&& yarn cache clean
RUN npx update-browserslist-db@latest
WORKDIR /app/code/
2.1
# 0.72 is the last version with eslint 8
FROM pipelinecomponents/eslint:0.72.0
WORKDIR /app/
RUN yarn config set registry https://registry.npmjs.org/
RUN yarn add \
eslint-plugin-react-hooks \
[email protected] \
[email protected] \
[email protected] \
@typescript-eslint/[email protected] \
[email protected] \
@typescript-eslint/[email protected] \
@babel/preset-react \
&& yarn cache clean
RUN npx update-browserslist-db@latest
WORKDIR /app/code/
2.0
FROM pipelinecomponents/eslint:0.72.0
WORKDIR /app/
RUN yarn config set registry https://registry.npmjs.org/
RUN yarn add \
eslint-plugin-react-hooks \
[email protected] \
[email protected] \
[email protected] \
@typescript-eslint/[email protected] \
[email protected] \
@typescript-eslint/[email protected] \
@babel/preset-react \
&& yarn cache clean
WORKDIR /code/
1.0
FROM pipelinecomponents/eslint:0.72.0
WORKDIR /app/
RUN yarn config set registry https://registry.npmjs.org/
RUN yarn add \
eslint-plugin-react-hooks \
@babel/preset-react \
&& yarn cache clean
WORKDIR /code/
Content type
Image
Digest
sha256:8d5850acd…
Size
177.1 MB
Last updated
over 1 year ago
docker pull quique0194/eslint:2.3