mirror of
https://github.com/ershisan99/flashcards-example-project.git
synced 2025-12-16 20:59:27 +00:00
chore: update deps, apply updated eslint config
This commit is contained in:
@@ -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',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
}]
|
|
||||||
};
|
|
||||||
Reference in New Issue
Block a user