Skip to content

Commit

Permalink
chore(client): migrate eslint to 8.57.0, bump prettier to 3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pmstss committed Aug 31, 2024
1 parent 6da7881 commit 66e2352
Show file tree
Hide file tree
Showing 15 changed files with 518 additions and 832 deletions.
17 changes: 11 additions & 6 deletions client/.eslintrc.js → client/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ module.exports = {
},
ignorePatterns: ['cypress', 'node_modules', 'build', 'public', 'assets'],
plugins: ['@typescript-eslint/eslint-plugin'],
extends: [
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended'
],
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
env: {
browser: true
},
Expand All @@ -20,5 +16,14 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off'
}
},
overrides: [
{
files: ['cypress/**/*.ts', 'cypress.config.ts'],
parserOptions: {
project: ['./cypress/tsconfig.json'],
tsconfigRootDir: __dirname
}
}
]
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
ignorePatterns: ['!**/*'],
extends: ['../.eslintrc.js'],
extends: ['../.eslintrc.cjs'],
overrides: [
{
files: ['*.ts'],
Expand Down
5 changes: 1 addition & 4 deletions client/cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"isolatedModules": false,
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress"]
},
"include": ["**/*", "../src/**/*"]
"include": ["**/*.ts", "../cypress.config.ts"]
}
Loading

0 comments on commit 66e2352

Please sign in to comment.