Skip to content

Commit a56358d

Browse files
Release 13.0.0 (#130)
* chore: prepare next dev release * fix: no-unused-vars warning shown twice (#128) disable unused-imports/no-unused-vars * fix: set exhaustive-deps to error instead of warn (#122) * Prepare release version 13.0.0 --------- Co-authored-by: datavisyn-bot <> Co-authored-by: Klaus Eckelt <[email protected]> Co-authored-by: Michael Pühringer <[email protected]>
2 parents 3a50239 + 0c5468b commit a56358d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

config/eslintrc.template.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,15 @@ module.exports = ({ tsconfigRootDir, optimizeImports = true }) => ({
6060
allowTaggedTemplates: true,
6161
},
6262
],
63-
'@typescript-eslint/no-unused-vars': 'warn',
63+
'@typescript-eslint/no-unused-vars': [
64+
'warn',
65+
{
66+
vars: 'all',
67+
varsIgnorePattern: '^_',
68+
args: 'after-used',
69+
argsIgnorePattern: '^_',
70+
},
71+
],
6472
'max-classes-per-file': 'off',
6573
'no-param-reassign': ['warn', { props: true, ignorePropertyModificationsFor: ['state'] }], // Exclude state as required by redux-toolkit: https://redux-toolkit.js.org/usage/immer-reducers#linting-state-mutations
6674
'import/no-extraneous-dependencies': 'off',
@@ -96,15 +104,7 @@ module.exports = ({ tsconfigRootDir, optimizeImports = true }) => ({
96104
},
97105
],
98106
'unused-imports/no-unused-imports': 'error',
99-
'unused-imports/no-unused-vars': [
100-
'warn',
101-
{
102-
vars: 'all',
103-
varsIgnorePattern: '^_',
104-
args: 'after-used',
105-
argsIgnorePattern: '^_',
106-
},
107-
],
107+
'unused-imports/no-unused-vars': 'off', // https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
108108
} : {
109109
'import/order': 'error',
110110
}),
@@ -129,7 +129,7 @@ module.exports = ({ tsconfigRootDir, optimizeImports = true }) => ({
129129
},
130130
],
131131
'react-compiler/react-compiler': 'warn',
132-
'react-hooks/exhaustive-deps': ['warn', {
132+
'react-hooks/exhaustive-deps': ['error', {
133133
additionalHooks: '(useTriggerFrame|useDeepEffect|useDeepMemo|useDeepCallback|useDeepCompareEffect)',
134134
}],
135135
/*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visyn_scripts",
33
"description": "",
4-
"version": "12.1.1",
4+
"version": "13.0.0",
55
"author": {
66
"name": "datavisyn GmbH",
77
"email": "[email protected]",

0 commit comments

Comments
 (0)