Skip to content
This repository was archived by the owner on Jun 4, 2023. It is now read-only.

Commit 4525d77

Browse files
committed
style: move to eslint
1 parent e61bed9 commit 4525d77

File tree

30 files changed

+1178
-503
lines changed

30 files changed

+1178
-503
lines changed

.eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
extends: [
4+
'plugin:react/recommended',
5+
'plugin:@typescript-eslint/recommended',
6+
'prettier/@typescript-eslint',
7+
'plugin:prettier/recommended',
8+
'prettier/react',
9+
],
10+
parserOptions: {
11+
ecmaVersion: 2018,
12+
sourceType: 'module',
13+
},
14+
rules: {
15+
'@typescript-eslint/explicit-function-return-type': 'off'
16+
}
17+
};

.prettierrc

-4
This file was deleted.

.prettierrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
semi: true,
3+
trailingComma: 'all',
4+
singleQuote: true,
5+
tabWidth: 2,
6+
};

0 commit comments

Comments
 (0)