Skip to content

Commit ffe010b

Browse files
Merge branch 'agreeable-mushroom' into production
2 parents 10f1951 + 1b8e080 commit ffe010b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+6833
-2274
lines changed

.eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public
2+
build
3+
dist
4+
coverage

.eslintrc.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"extends": ["airbnb", "airbnb/hooks", "prettier"],
3+
"env": {
4+
"browser": true,
5+
"es2021": true
6+
},
7+
"parserOptions": {
8+
"ecmaVersion": 12,
9+
"sourceType": "module"
10+
},
11+
"rules": {
12+
"quotes": ["error", "double"], // Quotation style: enforce double quotes
13+
"semi": ["error", "always"], // Require semicolons
14+
"arrow-parens": ["error", "always"], // Require parentheses around arrow function arguments
15+
"object-curly-spacing": ["error", "always"], // Enforce spaces inside braces
16+
"no-restricted-syntax": 0,
17+
"camelcase": 0,
18+
"no-plusplus": 0,
19+
"react/function-component-definition": 0,
20+
"react/prop-types": 0,
21+
"react/jsx-props-no-spreading": 0,
22+
"react/jsx-filename-extension": 0,
23+
"react-hooks/exhaustive-deps": 1,
24+
"import/no-cycle": 0,
25+
"no-param-reassign": 0,
26+
"no-continue": 0,
27+
"no-nested-ternary": 0,
28+
"no-shadow": 0,
29+
"consistent-return": 0,
30+
"jsx-a11y/no-autofocus": 1
31+
// Additional ESLint rules can be added here
32+
}
33+
}

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public
2+
build
3+
dist
4+
coverage

.prettierrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"printWidth": 90,
3+
"singleQuote": false,
4+
"semi": true,
5+
"tabWidth": 2,
6+
"arrowParens": "always",
7+
"bracketSpacing": true,
8+
"trailingComma": "none"
9+
}

craco.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
eslint: {
3+
enable: false,
4+
},
5+
};

0 commit comments

Comments
 (0)