Skip to content

Commit c95e9c4

Browse files
authored
CCM-11165: RC Delete (#719)
1 parent 7427cc5 commit c95e9c4

Some content is hidden

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

49 files changed

+977
-164
lines changed

.eslintrc.json

Lines changed: 55 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"settings": {
3-
"import/resolver": {
4-
"typescript": {} // this loads <rootdir>/tsconfig.json to eslint
5-
}
6-
},
72
"extends": [
83
"eslint:recommended",
94
"plugin:@typescript-eslint/recommended",
@@ -14,6 +9,30 @@
149
"plugin:sonarjs/recommended-legacy",
1510
"plugin:unicorn/recommended"
1611
],
12+
"overrides": [
13+
{
14+
"files": [
15+
"*.js"
16+
],
17+
"rules": {
18+
"@typescript-eslint/no-require-imports": "off",
19+
"@typescript-eslint/no-var-requires": "off",
20+
"global-require": "off",
21+
"unicorn/prefer-module": "off"
22+
}
23+
},
24+
{
25+
"files": [
26+
"*.{test,spec}.{ts,tsx}"
27+
],
28+
"rules": {
29+
"max-classes-per-file": "off",
30+
"sonarjs/no-nested-functions": "off",
31+
"unicorn/consistent-function-scoping": "off",
32+
"unicorn/no-useless-undefined": "off"
33+
}
34+
}
35+
],
1736
"plugins": [
1837
"@typescript-eslint",
1938
"html",
@@ -26,42 +45,18 @@
2645
"unicorn"
2746
],
2847
"rules": {
29-
"no-restricted-syntax": "off",
30-
"consistent-return": "off",
31-
"prettier/prettier": "error",
32-
"unicorn/prevent-abbreviations": "off",
33-
"unicorn/filename-case": [
34-
"error",
35-
{
36-
"case": "kebabCase",
37-
"ignore": [
38-
".tsx"
39-
]
40-
}
41-
],
42-
"import/prefer-default-export": "off",
43-
"import/extensions": "off",
44-
"no-shadow": "off",
4548
"@typescript-eslint/no-shadow": "error",
4649
"@typescript-eslint/no-unused-vars": [
4750
"error",
4851
{
49-
"ignoreRestSiblings": true,
5052
"argsIgnorePattern": "^_",
53+
"ignoreRestSiblings": true,
5154
"varsIgnorePattern": "^_"
5255
}
5356
],
54-
"security/detect-object-injection": "off",
55-
"sonarjs/no-duplicate-string": "off",
56-
"sonarjs/todo-tag": "off",
57-
"no-param-reassign": "off",
58-
"no-useless-constructor": "off",
59-
"sonarjs/no-small-switch": "off",
60-
"sonarjs/no-unused-vars": "off",
61-
"unicorn/no-null": "off",
62-
"prefer-regex-literals": "off",
6357
"class-methods-use-this": "off",
64-
"no-underscore-dangle": "off",
58+
"consistent-return": "off",
59+
"import/extensions": "off",
6560
"import/no-extraneous-dependencies": [
6661
"error",
6762
{
@@ -73,32 +68,36 @@
7368
]
7469
}
7570
],
71+
"import/prefer-default-export": "off",
7672
"no-empty-function": "off",
73+
"no-param-reassign": "off",
74+
"no-restricted-syntax": "off",
75+
"no-shadow": "off",
76+
"no-underscore-dangle": "off",
77+
"no-useless-constructor": "off",
78+
"prefer-regex-literals": "off",
79+
"prettier/prettier": "error",
80+
"security/detect-object-injection": "off",
81+
"sonarjs/no-duplicate-string": "off",
82+
"sonarjs/no-small-switch": "off",
83+
"sonarjs/no-unused-vars": "off",
84+
"sonarjs/todo-tag": "off",
85+
"unicorn/filename-case": [
86+
"error",
87+
{
88+
"case": "kebabCase",
89+
"ignore": [
90+
".tsx"
91+
]
92+
}
93+
],
94+
"unicorn/no-null": "off",
7795
"unicorn/prefer-module": "off",
78-
"sonarjs/todo-tag": "off"
96+
"unicorn/prevent-abbreviations": "off"
7997
},
80-
"overrides": [
81-
{
82-
"files": [
83-
"*.js"
84-
],
85-
"rules": {
86-
"@typescript-eslint/no-var-requires": "off",
87-
"@typescript-eslint/no-require-imports": "off",
88-
"unicorn/prefer-module": "off",
89-
"global-require": "off"
90-
}
91-
},
92-
{
93-
"files": [
94-
"*.{test,spec}.{ts,tsx}"
95-
],
96-
"rules": {
97-
"unicorn/no-useless-undefined": "off",
98-
"unicorn/consistent-function-scoping": "off",
99-
"max-classes-per-file": "off",
100-
"sonarjs/no-nested-functions": "off"
101-
}
98+
"settings": {
99+
"import/resolver": {
100+
"typescript": {}
102101
}
103-
]
102+
}
104103
}

.prettierrc.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"trailingComma": "es5",
3-
"semi": true,
4-
"tabWidth": 2,
5-
"singleQuote": true,
6-
"jsxSingleQuote": true,
7-
"quoteProps": "as-needed",
82
"arrowParens": "always",
93
"bracketSpacing": true,
104
"endOfLine": "lf",
11-
"printWidth": 80
5+
"jsxSingleQuote": true,
6+
"printWidth": 80,
7+
"quoteProps": "as-needed",
8+
"semi": true,
9+
"singleQuote": true,
10+
"tabWidth": 2,
11+
"trailingComma": "es5"
1212
}

data-migration/user-transfer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"main": "src/handler.ts",
2121
"name": "user-transfer",
2222
"scripts": {
23+
"apply": "tsx src/migrate-cli.ts",
2324
"lint": "eslint ./src",
2425
"lint:fix": "eslint ./src --fix",
25-
"apply": "tsx src/migrate-cli.ts",
2626
"plan": "tsx src/plan-cli.ts",
2727
"test:unit": "jest",
2828
"typecheck": "tsc --noEmit"

frontend/.eslintrc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
],
77
"rules": {
88
"react/display-name": "off",
9-
"react/react-in-jsx-scope": "off",
10-
"react/jsx-filename-extension": "off",
11-
"react/jsx-props-no-spreading": "off",
129
"react/function-component-definition": "off",
10+
"react/jsx-filename-extension": "off",
11+
"react/jsx-no-bind": "off",
1312
"react/jsx-no-useless-fragment": [
1413
"error",
1514
{
1615
"allowExpressions": true
1716
}
1817
],
18+
"react/jsx-props-no-spreading": "off",
1919
"react/no-danger": "off",
20-
"react/require-default-props": "off",
21-
"react/jsx-no-bind": "off"
20+
"react/react-in-jsx-scope": "off",
21+
"react/require-default-props": "off"
2222
}
2323
}

frontend/public/lib/assets/icons/icon-arrow-left.svg

Lines changed: 1 addition & 1 deletion
Loading

frontend/public/lib/assets/icons/icon-arrow-right-circle.svg

Lines changed: 1 addition & 1 deletion
Loading

frontend/public/lib/assets/icons/icon-arrow-right.svg

Lines changed: 1 addition & 1 deletion
Loading

frontend/public/lib/assets/icons/icon-chevron-left.svg

Lines changed: 1 addition & 1 deletion
Loading

frontend/public/lib/assets/icons/icon-chevron-right.svg

Lines changed: 1 addition & 1 deletion
Loading

frontend/public/lib/assets/icons/icon-close.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)