Skip to content

Commit 509b194

Browse files
committed
Lint
1 parent 2432767 commit 509b194

16 files changed

+428
-233
lines changed

.eslintrc.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ module.exports = {
55
ignorePatterns: ['node_modules/*', 'lib/*', 'es/*'],
66
parser: '@typescript-eslint/parser',
77
extends: [
8-
'plugin:react/recommended',
98
'plugin:@typescript-eslint/recommended',
109
'prettier/@typescript-eslint',
1110
'plugin:prettier/recommended',
@@ -23,14 +22,7 @@ module.exports = {
2322
'@typescript-eslint/no-empty-interface': 'warn',
2423
'@typescript-eslint/no-empty-function': 'warn',
2524
'@typescript-eslint/no-namespace': 'warn',
26-
'react/display-name': 'warn',
27-
'react/prop-types': 'warn',
2825
'prefer-rest-params': 'warn',
2926
'no-else-return': 'error',
3027
},
31-
settings: {
32-
react: {
33-
version: 'detect',
34-
},
35-
},
3628
};

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 120,
3+
"singleQuote": true,
4+
"trailingComma": "es5"
5+
}

0 commit comments

Comments
 (0)