Skip to content

Commit

Permalink
Check indentation errors on CI and in the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
llloret committed May 28, 2020
1 parent d289d23 commit b517f3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"indent": ["error", 4, {"ignoreComments": true}],
"no-mixed-spaces-and-tabs": "error",
"no-trailing-spaces": "error",
"no-unused-vars": "warn",
"semi": "off"
}
}
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ steps:
- script: |
npm install
npm run compile
npm run lint
displayName: 'npm install and build'

0 comments on commit b517f3a

Please sign in to comment.