Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 20 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,27 @@
"project": "./tsconfig.json"
},
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"eslint:recommended",
"prettier",
"prettier/react",
"prettier/@typescript-eslint",
// "plugin:react/recommended",
"plugin:react/jsx-runtime",
// "plugin:react-hooks/recommended",
// "plugin:jsx-a11y/recommended",
// "plugin:import/recommended",
"plugin:jest/recommended",
"plugin:cypress/recommended",
"plugin:jsx-a11y/recommended",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"prettier"
],
"plugins": [
"@typescript-eslint",
"react",
"jsx-a11y",
"react-hooks",
"import",
// "react-hooks",
// "jsx-a11y",
// "import",
"jsdoc",
"jest",
"cypress"
"jest"
],
"globals": {
"JSX": true
Expand Down Expand Up @@ -114,6 +115,14 @@
"jsx-a11y/click-events-have-key-events": "off",
"react/prop-types": "off",
"react/destructuring-assignment": "off",
"react/function-component-definition": [
2, {
"namedComponents": [
"function-declaration",
"arrow-function"
]
}
],
"react/no-unused-prop-types": "error",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": [
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ yarn.lock

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
migrations
node_modules
build
build
coverage
13 changes: 1 addition & 12 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
{
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"bracketSpacing": true,
"jsxBracketSameLine": true,
"arrowParens": "always",
"trailingComma": "all"
}
{}
Loading