Merge pull request #730 from nodejs/editorocnfig

Introduce EditorConfig
This commit is contained in:
Laurent Goderre 2018-05-15 10:09:12 -04:00 committed by GitHub
commit 42eae256ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 45 deletions

11
.editorconfig Normal file
View File

@ -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

View File

@ -22,6 +22,17 @@ stages:
jobs:
include:
- stage: Test
env:
- TEST: Editor Config check
language: node_js
node_js:
- lts/*
install:
- npm i -g eclint
script:
- eclint check
- stage: Test
env:
- TEST: Doc Toc Check