Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .commitlintrc.js

This file was deleted.

144 changes: 43 additions & 101 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,148 +1,90 @@
{
"root": true,
"ignorePatterns": [
"**/*"
],
"plugins": [
"@nrwl/nx",
"simple-import-sort"
"@nrwl/nx"
],
"extends": [
"airbnb-typescript/base",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:jest/recommended",
"plugin:jest/style",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended"
"airbnb-base",
"prettier"
],
"rules": {
"import/no-unresolved": "off"
"dot-notation": "off"
},
"overrides": [
{
"parserOptions": {
"project": [
"./tsconfig.eslint.json"
]
},
"files": [
"*.ts",
"*.tsx",
"*.js",
"*.jsx"
"*.js"
],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"import/no-cycle": "off",
"@typescript-eslint/no-redeclare": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"class-methods-use-this": "off",
"@typescript-eslint/indent": "off",
"no-underscore-dangle": "off",
"no-mixed-spaces-and-tabs": [
"error",
"smart-tabs"
],
"@typescript-eslint/dot-notation": "warn",
"no-restricted-imports": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
"patterns": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": [
"*"
]
"group": [
"ui-components/*"
],
"message": "Please use @rezonapp/ui-components."
}
]
}
],
"semi": [
"warn",
"never"
]
}
},
{
"files": [
"*.ts",
"*.tsx"
"*.ts"
],
"parserOptions": {
"project": [
"./tsconfig.eslint.json"
]
},
"extends": [
"plugin:@nrwl/nx/typescript"
"plugin:@nrwl/nx/typescript",
"airbnb-typescript/base"
],
"rules": {
// airbnb default is 1
"max-classes-per-file": [
"error",
5
],
// never allow default export
"import/prefer-default-export": "off",
// never allow default export
"import/no-default-export": "error",
// added by airbnb not-practical for entity-relation definitions
"import/no-cycle": "off",
// needed so we can use class scoped generics in methods.
"class-methods-use-this": "off",
// airbnb default this doesn't work when using parameter decorators.
"@typescript-eslint/no-useless-constructor": "off",
// override airbnb to allow class interface merging
"@typescript-eslint/no-redeclare": [
"error",
{
"ignoreDeclarationMerge": true
}
],
"@typescript-eslint/no-unsafe-assignment": "off",
"simple-import-sort/imports": [
"warn",
{
"groups": [
// Packages. `react` related packages come first.
[
"^react",
"^@?\\w"
],
// "type" imports.
[
"^.*\\u0000$"
],
// Absolute imports and other imports such as Vue-style `@/foo`.
// Anything not matched in another group.
[
"^"
],
// Relative imports.
// Anything that starts with a dot.
[
"^\\."
]
]
}
],
"simple-import-sort/exports": "warn"
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-namespace": "off"
}
},
{
"files": [
"*.js",
"*.jsx"
"*.js"
],
"extends": [
"plugin:@nrwl/nx/javascript"
],
"rules": {}
]
},
{
"files": [
"*.spec.ts",
"*/__fixtures__/*.ts"
],
"extends": [
"plugin:@nrwl/nx/typescript"
"**/__tests__/**/*.*"
],
"rules": {
"max-classes-per-file": [
"off"
],
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"import/no-extraneous-dependencies": "off",
"jest/expect-expect": "off"
"max-classes-per-file": "off",
"import/no-extraneous-dependencies": "off"
}
}
]
Expand Down
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/---bug-report.md

This file was deleted.

13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/---documentation.md

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/---feature-request.md

This file was deleted.

27 changes: 0 additions & 27 deletions .github/actions/setup-step/action.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

Loading
Loading