Skip to content

Commit 3f7b7dc

Browse files
committed
Merge remote-tracking branch 'upstream/main' into FIO-8548-upgrade-to-11-version
2 parents f4e2b55 + a127f82 commit 3f7b7dc

File tree

356 files changed

+52568
-25036
lines changed

Some content is hidden

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

356 files changed

+52568
-25036
lines changed

.babelrc

Lines changed: 0 additions & 17 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc.json

Lines changed: 27 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,17 @@
1010
],
1111
"env": {
1212
"es6": true,
13-
"browser": true,
14-
"mocha": true,
15-
"cypress/globals": true
13+
"node": true,
14+
"browser": true
1615
},
1716
"parserOptions": {
18-
"project": "./tsconfig.json",
19-
"ecmaVersion": 2020
17+
"sourceType": "module",
18+
"project": true
2019
},
2120
"rules": {
21+
"no-param-reassign": ["error", { "props": false }],
22+
"@typescript-eslint/explicit-function-return-type": "error",
23+
"import/no-named-as-default": "off",
2224
"import/prefer-default-export": "off",
2325
"import/no-extraneous-dependencies": [
2426
"error",
@@ -62,16 +64,27 @@
6264
}
6365
],
6466
"lines-between-class-members": "off",
67+
"@typescript-eslint/no-floating-promises": "error",
6568
"@typescript-eslint/no-namespace": "off",
66-
"react/jsx-filename-extension": [0]
69+
"react/jsx-filename-extension": [0],
70+
"import/extensions": [
71+
"error",
72+
"ignorePackages",
73+
{
74+
"js": "never",
75+
"mjs": "never",
76+
"jsx": "never",
77+
"ts": "never",
78+
"tsx": "never"
79+
}
80+
]
6781
},
6882
"overrides": [
6983
{
70-
"files": ["*.test.ts"],
71-
"env": {
72-
"mocha": true
73-
},
84+
"files": ["*.test.ts", "*.spec.ts"],
7485
"rules": {
86+
"no-await-in-loop": "off",
87+
"@typescript-eslint/explicit-function-return-type": "off",
7588
"no-restricted-syntax": "off",
7689
"compat/compat": "off",
7790
"no-new": "off",
@@ -88,16 +101,6 @@
88101
}
89102
]
90103
}
91-
},
92-
{
93-
"files": ["cypress/**"],
94-
"plugins": ["cypress"],
95-
"rules": {
96-
"no-unused-vars": "warn"
97-
},
98-
"env": {
99-
"cypress/globals": true
100-
}
101104
}
102105
],
103106
"settings": {
@@ -112,12 +115,14 @@
112115
"CustomEvent",
113116
"Element.prototype.classList",
114117
"Element.prototype.closest",
115-
"Element.prototype.dataset"
118+
"Element.prototype.dataset",
119+
"Element.prototype.replaceChildren"
116120
],
117121
"import/resolver": {
118122
"node": {
119123
"extensions": [".js", ".ts"]
120124
}
121125
}
122-
}
126+
},
127+
"ignorePatterns": ["node_modules/*", "public/*"]
123128
}

.git-blame-ignore-revs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# byte shaving (hoist semi-commonly variables, remove some low level low-usage functions)
2+
157a47a44a01e3ce4b54ad211b1756ff59985bef
3+
5bee41d7ff08e05442b232e3e552dcb6c703568d
4+
e9382df0ae63edfc7540f82f74cf969342c759c0
5+
6+
# prettier config change
7+
00433d200d8cccc8b544fbc8f05d5e96bf8ccff7
8+
9+
# misc linting cleanup
10+
00009d2effa8b41a6ce27ef8b06a35a04215aea6
11+
62b786d1f13d0934137a62909d3a37db0a3e927e
12+
5ad61841143508c9f91f0edd57f81f8b11066e0a
13+
84a61cad1ddab1e851c98efa619a2cd35af434c1
14+
33f573247e8badc9ee10defe326f13985342e09b
15+
b0199538a82d49de429f35546e412d14fc8bfeb9

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ A clear and concise description of what you expected to happen.
2323
**Screenshots**
2424
If applicable, add screenshots to help explain your problem.
2525

26+
**Choices version and bundle**
27+
- Version: [e.g. v11.0.0 choices.min.js]
28+
2629
**Desktop (please complete the following information):**
2730
- OS: [e.g. iOS]
2831
- Browser [e.g. chrome, safari]
-24.4 KB
Binary file not shown.
-24.5 KB
Binary file not shown.
-47.2 KB
Binary file not shown.
-104 KB
Binary file not shown.
-21.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)