Skip to content

Commit 90ca7dd

Browse files
[FSSDK-10440] Node engine 14 support restored
1 parent 854b585 commit 90ca7dd

File tree

4 files changed

+358
-364
lines changed

4 files changed

+358
-364
lines changed

.eslintrc.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
parserOptions: {
3+
ecmaFeatures: {
4+
jsx: true,
5+
},
6+
ecmaVersion: 2015,
7+
sourceType: 'module',
8+
},
9+
env: {
10+
browser: true,
11+
es6: true,
12+
jest: true,
13+
mocha: true,
14+
node: true,
15+
},
16+
extends: [
17+
'plugin:react-hooks/recommended',
18+
'eslint:recommended',
19+
'plugin:@typescript-eslint/recommended',
20+
'plugin:prettier/recommended',
21+
],
22+
rules: {
23+
'@typescript-eslint/ban-ts-ignore': 'off',
24+
'@typescript-eslint/camelcase': 'off',
25+
'@typescript-eslint/no-empty-function': 'off',
26+
'no-shadow': 'error',
27+
},
28+
};

eslint.config.mjs

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

package.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,35 +43,30 @@
4343
"react": ">=16.8.0"
4444
},
4545
"devDependencies": {
46-
"@eslint/compat": "^1.1.1",
47-
"@eslint/eslintrc": "^3.1.0",
48-
"@eslint/js": "^9.8.0",
4946
"@rollup/plugin-commonjs": "^26.0.1",
5047
"@rollup/plugin-node-resolve": "^15.2.3",
5148
"@rollup/plugin-replace": "^5.0.7",
52-
"@rollup/plugin-terser": "^0.4.4",
53-
"@testing-library/dom": "^10.4.0",
49+
"@rollup/plugin-terser": "0.4.2",
5450
"@testing-library/jest-dom": "^6.4.8",
55-
"@testing-library/react": "^16.0.0",
51+
"@testing-library/react": "^14.3.0",
5652
"@types/hoist-non-react-statics": "^3.3.5",
5753
"@types/jest": "^29.5.12",
5854
"@types/prop-types": "^15.7.12",
5955
"@types/react": "^18.3.3",
6056
"@types/react-dom": "^18.3.0",
61-
"@typescript-eslint/eslint-plugin": "^7.18.0",
62-
"@typescript-eslint/parser": "^7.18.0",
63-
"eslint": "^9.8.0",
57+
"@typescript-eslint/eslint-plugin": "^5.6.2",
58+
"@typescript-eslint/parser": "^5.6.2",
59+
"eslint": "^8.57.0",
6460
"eslint-config-prettier": "^9.1.0",
6561
"eslint-plugin-prettier": "^5.2.1",
6662
"eslint-plugin-react": "^7.35.0",
6763
"eslint-plugin-react-hooks": "^4.6.2",
68-
"globals": "^15.8.0",
6964
"jest": "^29.7.0",
7065
"jest-environment-jsdom": "^29.7.0",
7166
"prettier": "^3.3.3",
7267
"react": "^18.3.1",
7368
"react-dom": "^18.3.1",
74-
"rollup": "^4.19.1",
69+
"rollup": "^3.29.4",
7570
"rollup-plugin-typescript2": "^0.36.0",
7671
"ts-jest": "^29.2.3",
7772
"tslib": "^2.6.3",

0 commit comments

Comments
 (0)