chore: update deps, apply updated eslint config

This commit is contained in:
2023-10-10 16:47:52 +02:00
parent c6aab409b8
commit 954d5b358f

View File

@@ -1,17 +1,16 @@
module.exports = { module.exports = {
extends: ["@it-incubator/eslint-config", "plugin:storybook/recommended"], extends: ['@it-incubator/eslint-config', 'plugin:storybook/recommended'],
plugins: ["myPlugin"], plugins: ['myPlugin'],
rules: { rules: {
"no-console": ["warn", { 'myPlugin/no-wrong-redux-import': 'error',
allow: ["warn", "error"]
}],
"myPlugin/no-wrong-redux-import": "error"
}, },
overrides: [{ overrides: [
"files": ["**/*.stories.tsx"], {
"rules": { files: ['**/*.stories.tsx'],
"react-hooks/rules-of-hooks": "off", rules: {
'no-console': 'off' 'react-hooks/rules-of-hooks': 'off',
'no-console': 'off',
},
},
],
} }
}]
};