Skip to content

Commit b289572

Browse files
authored
Merge pull request #121 from JJ-Cro/eslintFix07_25
chore(): update ESLint configuration and bump dependencies
2 parents 7a26341 + ec49e24 commit b289572

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

.eslintrc.cjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,24 @@ module.exports = {
2020
node: true,
2121
jest: true,
2222
},
23-
ignorePatterns: ['.eslintrc.js', 'webpack.config.js'],
23+
ignorePatterns: ['.eslintrc.js', 'webpack.config.js', 'examples/apidoc'],
2424
rules: {
2525
'@typescript-eslint/interface-name-prefix': 'off',
2626
'@typescript-eslint/explicit-function-return-type': 'off',
2727
'@typescript-eslint/explicit-module-boundary-types': 'off',
2828
'@typescript-eslint/no-explicit-any': 'off',
2929
'@typescript-eslint/no-non-null-assertion': 'off',
30+
'no-param-reassign': ['error'],
3031
'@typescript-eslint/ban-types': 'off',
3132
'simple-import-sort/imports': 'error',
3233
'simple-import-sort/exports': 'error',
3334
'array-bracket-spacing': ['error', 'never'],
3435
'linebreak-style': ['error', 'unix'],
3536
'lines-between-class-members': ['warn', 'always'],
37+
'@typescript-eslint/no-empty-object-type': [
38+
'error',
39+
{ allowObjectTypes: 'always' },
40+
],
3641
semi: ['error', 'always'],
3742
'new-cap': 'off',
3843
'no-console': 'off',

package-lock.json

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@
3131
"@types/jest": "^29.5.11",
3232
"@types/node": "^22.10.2",
3333
"@typescript-eslint/eslint-plugin": "^8.18.0",
34+
"@typescript-eslint/parser": "^8.18.0",
3435
"eslint": "^8.24.0",
3536
"eslint-config-prettier": "^9.1.0",
3637
"eslint-plugin-prettier": "^5.2.1",
3738
"eslint-plugin-require-extensions": "^0.1.3",
3839
"eslint-plugin-simple-import-sort": "^12.1.1",
3940
"jest": "^29.7.0",
4041
"ts-jest": "^29.1.2",
41-
"typescript": "^5.3.3"
42+
"typescript": "^5.7.3"
4243
},
4344
"optionalDependencies": {
4445
"source-map-loader": "^4.0.0",

0 commit comments

Comments
 (0)