Skip to content

Commit

Permalink
添加.editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfish2020 committed Jun 5, 2019
1 parent f0c1546 commit 08c2759
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 732 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[{*.js,*.json,*.yml}]
indent_size = 4
indent_style = space
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# node-ts
# template-node-ts
node-ts项目的基本模板

- npx ts-node ./src/index.ts
Expand Down
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};
preset: 'ts-jest',
testEnvironment: 'node',
};
Loading

0 comments on commit 08c2759

Please sign in to comment.