Skip to content

Commit

Permalink
Merge pull request #1 from Collaborne/fix/3332
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhons authored Nov 12, 2024
2 parents c4a4654 + 6144021 commit 013f2c7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 57 deletions.
17 changes: 5 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

"extends": [
"standard",
"plugin:prettier/recommended",
"prettier",
"collaborne"
],

Expand All @@ -24,23 +24,17 @@
}
},
"plugins": [
"react-hooks"
"react",
"react-hooks",
"@typescript-eslint"
],
"rules": {
"react/prop-types": "off",
"react/jsx-handler-names": "off",
"react/jsx-fragments": "off",
"react/no-unused-prop-types": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"camelcase": "warn"
"react-hooks/exhaustive-deps": "warn"
}
},
{
"files": "src/**/*.spec.ts",

"extends": [
"plugin:jest/recommended"
]
Expand All @@ -50,7 +44,6 @@
".storybook/**/*.ts",
".storybook/**/*.tsx"
],

"parserOptions": {
"project": "tsconfig.test.json"
}
Expand Down
17 changes: 9 additions & 8 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"singleQuote": true,
"jsxSingleQuote": false,
"semi": true,
"tabWidth": 2,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"trailingComma": "all"
"singleQuote": true,
"jsxSingleQuote": false,
"semi": true,
"tabWidth": 2,
"useTabs": true,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "avoid",
"trailingComma": "all"
}
33 changes: 0 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"eslint": "^8.18.0",
"eslint-config-collaborne": "^5.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-react": "^11.0.1",
"eslint-plugin-disable": "^2.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
Expand Down Expand Up @@ -101,9 +100,6 @@
},
"overrides": {
"colors": "1.4.0",
"eslint-config-standard-react": {
"eslint": "^8"
},
"typescript": "^5.1.6"
},
"files": [
Expand Down

0 comments on commit 013f2c7

Please sign in to comment.