Skip to content

Commit

Permalink
Merge commit '6cae9d3e01a45831565d64d0b38722fbd65659ec'
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibov committed Nov 23, 2023
2 parents ca27576 + 6cae9d3 commit 5491e10
Show file tree
Hide file tree
Showing 63 changed files with 8,010 additions and 1,486 deletions.
3 changes: 3 additions & 0 deletions frontend/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
dist/
env.d.ts
67 changes: 67 additions & 0 deletions frontend/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:import/recommended",
"plugin:jsx-a11y/recommended",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier"
],
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"no-unused-vars": "warn",
"@typescript-eslint/no-unused-vars": "off",
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react/jsx-key": "warn",
"no-restricted-imports": [
1,
{
"patterns": ["../*"]
}
],
"no-restricted-exports": ["error", { "restrictedNamedExports": [] }],
"import/order": [
"error",
{
"groups": ["builtin", "external", "parent", "sibling", "index"],
"pathGroups": [
{
"pattern": "react*",
"group": "external",
"position": "before"
},
{
"pattern": "@/**/*",
"group": "parent",
"position": "before"
},
{
"pattern": "*.css",
"group": "index",
"patternOptions": { "matchBase": true },
"position": "after"
}
],
"pathGroupsExcludedImportTypes": ["builtin"],
"newlines-between": "never",
"alphabetize": { "order": "asc", "caseInsensitive": true }
}
]
}
}
20 changes: 0 additions & 20 deletions frontend/.eslintrc.cjs

This file was deleted.

2 changes: 2 additions & 0 deletions frontend/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
9 changes: 9 additions & 0 deletions frontend/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 120,
"bracketSpacing": true,
"endOfLine": "lf"
}
Loading

0 comments on commit 5491e10

Please sign in to comment.