Skip to content

Commit

Permalink
chore(client): migrate to eslint v9 (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmstss authored Sep 2, 2024
1 parent 2282137 commit 7e1195b
Show file tree
Hide file tree
Showing 15 changed files with 1,331 additions and 1,319 deletions.
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

0 comments on commit 7e1195b

Please sign in to comment.