-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Irina_Kartun <irina.kartun@gmail.com>
- Loading branch information
1 parent
8ea7553
commit 3f2e246
Showing
496 changed files
with
18,724 additions
and
8,699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ dist | |
|
||
.github | ||
helm | ||
__tests__ | ||
apps/chat-e2e/html-report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,56 @@ | ||
{ | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/stylistic", | ||
"prettier", | ||
"plugin:tailwindcss/recommended", | ||
"next/core-web-vitals" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "tailwindcss"], | ||
"extends": ["eslint:recommended", "prettier"], | ||
"plugins": ["@nx"], | ||
"root": true, | ||
"settings": { | ||
"tailwindcss": { | ||
"config": "./tailwind.config.js", | ||
"callees": ["classnames", "classNames"] | ||
} | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": ["tsconfig.*?.json"] | ||
}, | ||
"rules": { | ||
"react/jsx-boolean-value": ["error", "never"], | ||
"no-empty": "warn", | ||
"@typescript-eslint/no-explicit-any": "warn", | ||
"no-console": ["error", { "allow": ["warn", "error"] }], | ||
"no-constant-condition": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ "argsIgnorePattern": "^_" } | ||
], | ||
"no-restricted-imports": ["error", { "paths": ["react-i18next"] }], | ||
"tailwindcss/no-custom-classname": "error", | ||
"tailwindcss/no-contradicting-classname": "error", | ||
"no-restricted-globals": [ | ||
"error", | ||
{ | ||
"name": "localStorage", | ||
"message": "Use DataService instead." | ||
}, | ||
{ | ||
"name": "sessionStorage", | ||
"message": "Use DataService instead." | ||
} | ||
], | ||
"no-multiple-empty-lines": ["warn", { "max": 1, "maxBOF": 0 }] | ||
"env": { | ||
"node": true | ||
}, | ||
"overrides": [ | ||
{ | ||
"plugins": ["testing-library"], | ||
"files": [ | ||
"**/__tests__/**/*.[jt]s?(x)", | ||
"**/?(*.)+(spec|test).[jt]s?(x)" | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [ | ||
{ | ||
"sourceTag": "*", | ||
"onlyDependOnLibsWithTags": ["*"] | ||
} | ||
] | ||
} | ||
], | ||
"no-empty": "warn", | ||
"no-console": ["error", { "allow": ["warn", "error", "info"] }], | ||
"no-constant-condition": "off", | ||
"no-multiple-empty-lines": ["warn", { "max": 1, "maxBOF": 0 }] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": [ | ||
"plugin:@nx/typescript", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/stylistic" | ||
], | ||
"extends": ["plugin:testing-library/react"], | ||
"rules": { | ||
"testing-library/await-async-queries": "error", | ||
"testing-library/no-await-sync-queries": "error", | ||
"testing-library/no-debugging-utils": "warn", | ||
"testing-library/no-dom-import": "off" | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ "argsIgnorePattern": "^_" } | ||
], | ||
"@typescript-eslint/no-explicit-any": "warn" | ||
} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nx/javascript"], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
--- | ||
excludes: | ||
paths: | ||
- pattern: "package-lock.json" | ||
reason: "BUILD_TOOL_OF" | ||
- pattern: 'package-lock.json' | ||
reason: 'BUILD_TOOL_OF' | ||
scopes: | ||
- pattern: "devDependencies" | ||
reason: "DEV_DEPENDENCY_OF" | ||
comment: "Packages for development only." | ||
- pattern: 'devDependencies' | ||
reason: 'DEV_DEPENDENCY_OF' | ||
comment: 'Packages for development only.' | ||
license_choices: | ||
repository_license_choices: | ||
- given: "GPL-2.0-only OR MIT" | ||
choice: "MIT" | ||
- given: 'GPL-2.0-only OR MIT' | ||
choice: 'MIT' | ||
resolutions: | ||
rule_violations: | ||
- message: "No license information is available for dependency \ | ||
'NPM::union:0\\.5\\.0'\\." | ||
reason: 'CANT_FIX_EXCEPTION' | ||
comment: 'The dependency has MIT license in github repo' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.