Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
remyvdwereld committed Oct 3, 2024
1 parent 8aa2b19 commit ac38a99
Show file tree
Hide file tree
Showing 7 changed files with 486 additions and 790 deletions.
15 changes: 13 additions & 2 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
module.exports = {
extends: ["react-app", "plugin:storybook/recommended"],
parser: "@typescript-eslint/parser",
extends: [
"plugin:storybook/recommended",
"plugin:@typescript-eslint/recommended", // Extend TypeScript rules
"plugin:react/recommended" // Extend React rules
],
env: {
browser: true, // Add this line to include browser globals
jest: true // If you are using Jest for testing
},
rules: {
"react/react-in-jsx-scope": "off", // Disable the rule
"@typescript-eslint/no-explicit-any": "warn",
"arrow-body-style": ["error", "as-needed"],
"block-spacing": ["error", "always"],
"comma-dangle": ["error", "never"],
Expand All @@ -13,6 +24,6 @@ module.exports = {
"space-infix-ops": ["error"],
"semi": ["error", "never"],
"template-curly-spacing": ["error", "always"],
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }]
"no-unused-vars": "off",
}
}
Loading

0 comments on commit ac38a99

Please sign in to comment.