Skip to content

Commit ec9cfac

Browse files
committedMar 30, 2020
feat(lint): add husky, eslint, prettier
1 parent 621265f commit ec9cfac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1684
-832
lines changed
 

‎.eslintrc.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
extends: ['prettier/@typescript-eslint', 'plugin:prettier/recommended'],
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
ecmaVersion: 6,
6+
sourceType: 'module',
7+
ecmaFeatures: {
8+
modules: true,
9+
},
10+
},
11+
};

‎.prettierrc.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"printWidth": 80,
5+
"tabWidth": 2,
6+
"semi": true,
7+
"singleQuote": true,
8+
"trailingComma": "all"
9+
}

0 commit comments

Comments
 (0)
Please sign in to comment.