Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit d52930c

Browse files
authored
Merge pull request #31 from Rezonate-io/fix-all
Fix all
2 parents 215fed0 + 316aacf commit d52930c

File tree

443 files changed

+39897
-39408
lines changed

Some content is hidden

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

443 files changed

+39897
-39408
lines changed

.commitlintrc.js

-7
This file was deleted.

.eslintrc.json

+43-101
Original file line numberDiff line numberDiff line change
@@ -1,148 +1,90 @@
11
{
22
"root": true,
3-
"ignorePatterns": [
4-
"**/*"
5-
],
63
"plugins": [
7-
"@nrwl/nx",
8-
"simple-import-sort"
4+
"@nrwl/nx"
95
],
106
"extends": [
11-
"airbnb-typescript/base",
12-
"eslint:recommended",
13-
"plugin:@typescript-eslint/recommended",
14-
"plugin:@typescript-eslint/recommended-requiring-type-checking",
15-
"plugin:jest/recommended",
16-
"plugin:jest/style",
17-
"plugin:import/errors",
18-
"plugin:import/warnings",
19-
"plugin:import/typescript",
20-
"plugin:prettier/recommended"
7+
"airbnb-base",
8+
"prettier"
219
],
2210
"rules": {
23-
"import/no-unresolved": "off"
11+
"dot-notation": "off"
2412
},
2513
"overrides": [
2614
{
15+
"parserOptions": {
16+
"project": [
17+
"./tsconfig.eslint.json"
18+
]
19+
},
2720
"files": [
2821
"*.ts",
29-
"*.tsx",
30-
"*.js",
31-
"*.jsx"
22+
"*.js"
3223
],
3324
"rules": {
34-
"@nrwl/nx/enforce-module-boundaries": [
25+
"import/no-cycle": "off",
26+
"@typescript-eslint/no-redeclare": "off",
27+
"import/prefer-default-export": "off",
28+
"import/no-extraneous-dependencies": "off",
29+
"class-methods-use-this": "off",
30+
"@typescript-eslint/indent": "off",
31+
"no-underscore-dangle": "off",
32+
"no-mixed-spaces-and-tabs": [
33+
"error",
34+
"smart-tabs"
35+
],
36+
"@typescript-eslint/dot-notation": "warn",
37+
"no-restricted-imports": [
3538
"error",
3639
{
37-
"enforceBuildableLibDependency": true,
38-
"allow": [],
39-
"depConstraints": [
40+
"patterns": [
4041
{
41-
"sourceTag": "*",
42-
"onlyDependOnLibsWithTags": [
43-
"*"
44-
]
42+
"group": [
43+
"ui-components/*"
44+
],
45+
"message": "Please use @rezonapp/ui-components."
4546
}
4647
]
4748
}
48-
],
49-
"semi": [
50-
"warn",
51-
"never"
5249
]
5350
}
5451
},
5552
{
5653
"files": [
57-
"*.ts",
58-
"*.tsx"
54+
"*.ts"
5955
],
56+
"parserOptions": {
57+
"project": [
58+
"./tsconfig.eslint.json"
59+
]
60+
},
6061
"extends": [
61-
"plugin:@nrwl/nx/typescript"
62+
"plugin:@nrwl/nx/typescript",
63+
"airbnb-typescript/base"
6264
],
6365
"rules": {
64-
// airbnb default is 1
65-
"max-classes-per-file": [
66-
"error",
67-
5
68-
],
69-
// never allow default export
7066
"import/prefer-default-export": "off",
71-
// never allow default export
72-
"import/no-default-export": "error",
73-
// added by airbnb not-practical for entity-relation definitions
74-
"import/no-cycle": "off",
75-
// needed so we can use class scoped generics in methods.
7667
"class-methods-use-this": "off",
77-
// airbnb default this doesn't work when using parameter decorators.
78-
"@typescript-eslint/no-useless-constructor": "off",
79-
// override airbnb to allow class interface merging
80-
"@typescript-eslint/no-redeclare": [
81-
"error",
82-
{
83-
"ignoreDeclarationMerge": true
84-
}
85-
],
86-
"@typescript-eslint/no-unsafe-assignment": "off",
87-
"simple-import-sort/imports": [
88-
"warn",
89-
{
90-
"groups": [
91-
// Packages. `react` related packages come first.
92-
[
93-
"^react",
94-
"^@?\\w"
95-
],
96-
// "type" imports.
97-
[
98-
"^.*\\u0000$"
99-
],
100-
// Absolute imports and other imports such as Vue-style `@/foo`.
101-
// Anything not matched in another group.
102-
[
103-
"^"
104-
],
105-
// Relative imports.
106-
// Anything that starts with a dot.
107-
[
108-
"^\\."
109-
]
110-
]
111-
}
112-
],
113-
"simple-import-sort/exports": "warn"
68+
"@typescript-eslint/indent": "off",
69+
"@typescript-eslint/no-namespace": "off"
11470
}
11571
},
11672
{
11773
"files": [
118-
"*.js",
119-
"*.jsx"
74+
"*.js"
12075
],
12176
"extends": [
12277
"plugin:@nrwl/nx/javascript"
123-
],
124-
"rules": {}
78+
]
12579
},
12680
{
12781
"files": [
12882
"*.spec.ts",
129-
"*/__fixtures__/*.ts"
130-
],
131-
"extends": [
132-
"plugin:@nrwl/nx/typescript"
83+
"**/__tests__/**/*.*"
13384
],
13485
"rules": {
135-
"max-classes-per-file": [
136-
"off"
137-
],
138-
"@typescript-eslint/no-unsafe-assignment": "off",
139-
"@typescript-eslint/no-unsafe-argument": "off",
140-
"@typescript-eslint/no-unsafe-member-access": "off",
141-
"@typescript-eslint/ban-ts-comment": "off",
142-
"@typescript-eslint/no-non-null-assertion": "off",
143-
"@typescript-eslint/no-explicit-any": "off",
144-
"import/no-extraneous-dependencies": "off",
145-
"jest/expect-expect": "off"
86+
"max-classes-per-file": "off",
87+
"import/no-extraneous-dependencies": "off"
14688
}
14789
}
14890
]

.github/ISSUE_TEMPLATE/---bug-report.md

-33
This file was deleted.

.github/ISSUE_TEMPLATE/---documentation.md

-13
This file was deleted.

.github/ISSUE_TEMPLATE/---feature-request.md

-24
This file was deleted.

.github/actions/setup-step/action.yml

-27
This file was deleted.

.github/workflows/codeql-analysis.yml

-60
This file was deleted.

0 commit comments

Comments
 (0)