Skip to content

Commit 477d25f

Browse files
committed
add quiz2
1 parent 6cd688a commit 477d25f

File tree

5 files changed

+2675
-0
lines changed

5 files changed

+2675
-0
lines changed

quiz/2_address-book/.eslintrc.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
node: true,
6+
jest: true,
7+
},
8+
extends: [
9+
'plugin:@typescript-eslint/eslint-recommended',
10+
'plugin:@typescript-eslint/recommended',
11+
],
12+
plugins: ['prettier', '@typescript-eslint'],
13+
rules: {
14+
'prettier/prettier': [
15+
'error',
16+
{
17+
singleQuote: true,
18+
semi: true,
19+
useTabs: false,
20+
tabWidth: 2,
21+
printWidth: 80,
22+
bracketSpacing: true,
23+
arrowParens: 'avoid',
24+
},
25+
],
26+
'@typescript-eslint/no-explicit-any': 'off',
27+
"@typescript-eslint/explicit-function-return-type": 'off',
28+
'prefer-const': 'off',
29+
},
30+
parserOptions: {
31+
parser: '@typescript-eslint/parser',
32+
},
33+
};

0 commit comments

Comments
 (0)