Skip to content

Commit

Permalink
style(prettier): run prettier throughout and fix lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
ike18t committed Mar 28, 2020
1 parent 8947844 commit f0fa0e5
Show file tree
Hide file tree
Showing 66 changed files with 629 additions and 880 deletions.
6 changes: 6 additions & 0 deletions .huskyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged && tslint --project tsconfig.json --fix && tslint --project tsconfig.json",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
.gitkeep
.idea/
.npmrc
.nvmrc
.prettierignore
.versionrc
CHANGELOG.md
CODEOWNERS
browserslist
dist/
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"bracketSpacing": true,
"semi": true,
"printWidth": 140,
"printWidth": 120,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none"
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: node_js
node_js:
- "node"
- 'node'
sudo: required
dist: trusty
addons:
chrome: stable
chrome: stable
before_script:
- "sudo chown root /opt/google/chrome/chrome-sandbox"
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
- 'sudo chown root /opt/google/chrome/chrome-sandbox'
- 'sudo chmod 4755 /opt/google/chrome/chrome-sandbox'
before_install:
- npm cache clean --force
script: npm run test:angular-versions
Expand Down
Loading

0 comments on commit f0fa0e5

Please sign in to comment.