Skip to content

Commit ead4edc

Browse files
committed
Update: doing root.render asynchronously
1 parent 317de20 commit ead4edc

7 files changed

+13533
-24550
lines changed

.eslintrc.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,22 @@ module.exports = {
22
root: true,
33
parser: '@typescript-eslint/parser',
44
parserOptions: {
5-
project: ['./tsconfig.json', './src/__tests__/tsconfig.json']
5+
project: ['./tsconfig.json', './src/__tests__/tsconfig.json'],
66
},
77
plugins: ['@typescript-eslint'],
88
extends: [
9+
'airbnb',
910
'airbnb-typescript',
1011
'plugin:@typescript-eslint/eslint-recommended',
1112
'plugin:@typescript-eslint/recommended',
1213
'plugin:@typescript-eslint/recommended-requiring-type-checking',
13-
'prettier/@typescript-eslint'
14+
'prettier/@typescript-eslint',
1415
],
1516
rules: {
1617
'no-underscore-dangle': 'off',
1718
'max-len': ['error', { code: 150 }],
1819
'react/require-default-props': 0,
19-
'react/prop-types': 0
20-
}
20+
'react/prop-types': 0,
21+
'no-void': 0, // handled by @typescript-eslint
22+
},
2123
};

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { defaults } = require('jest-config');
22
module.exports = {
33
moduleFileExtensions: [...defaults.moduleFileExtensions, 'ts', 'tsx'],
4-
testEnvironment: 'jest-environment-jsdom-sixteen'
4+
testEnvironment: 'jsdom',
55
};

0 commit comments

Comments
 (0)