Merge pull request #730 from nodejs/editorocnfig
Introduce EditorConfig
This commit is contained in:
commit
42eae256ca
|
|
@ -0,0 +1,11 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[*.sh]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
11
.travis.yml
11
.travis.yml
|
|
@ -22,6 +22,17 @@ stages:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
- stage: Test
|
||||||
|
env:
|
||||||
|
- TEST: Editor Config check
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- lts/*
|
||||||
|
install:
|
||||||
|
- npm i -g eclint
|
||||||
|
script:
|
||||||
|
- eclint check
|
||||||
|
|
||||||
- stage: Test
|
- stage: Test
|
||||||
env:
|
env:
|
||||||
- TEST: Doc Toc Check
|
- TEST: Doc Toc Check
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue