Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(client): migrate to eslint v9 #387

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ COPY --chown=node:node client/public ./client/public
COPY --chown=node:node client/typings ./client/typings
COPY --chown=node:node client/vcs ./client/vcs
COPY --chown=node:node client/tsconfig.json ./client/tsconfig.json
COPY --chown=node:node client/.eslintrc.cjs ./client/
COPY --chown=node:node client/.prettierignore ./client/
COPY --chown=node:node client/.prettierrc ./client/

ENV CYPRESS_INSTALL_BINARY=0
RUN npm ci --prefix=client --no-audit
Expand Down
29 changes: 0 additions & 29 deletions client/.eslintrc.cjs

This file was deleted.

13 changes: 0 additions & 13 deletions client/cypress/.eslintrc.cjs

This file was deleted.

20 changes: 20 additions & 0 deletions client/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// @ts-check
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import globals from 'globals';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.strict,
{
ignores: ['**/build/', '**/public/', '**/assets/']
},
{
files: ['**/*.js'],
languageOptions: {
globals: {
...globals.browser
}
}
}
);
Loading