Skip to content

Commit

Permalink
Add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Oct 8, 2018
1 parent b7c93b6 commit 5730481
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
extends: sinon
extends:
- sinon
- plugin:prettier/recommended

globals:
ArrayBuffer: false
Expand All @@ -10,8 +12,10 @@ globals:
plugins:
- ie11
- local-rules
- prettier

rules:
prettier/prettier: error
ie11/no-collection-args: error
ie11/no-for-in-const: error
ie11/no-loop-func: warn
Expand Down
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"tabWidth": 4
}
53 changes: 50 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,12 @@
"browserify": "^15.1.0",
"dependency-check": "^2.9.1",
"eslint": "^5.6.1",
"eslint-config-prettier": "^3.1.0",
"eslint-config-sinon": "^1.0.0",
"eslint-plugin-ie11": "^1.0.0",
"eslint-plugin-local-rules": "^0.1.0",
"eslint-plugin-mocha": "^4.2.0",
"eslint-plugin-prettier": "^3.0.0",
"esm": "3.0.37",
"husky": "^0.14.2",
"lint-staged": "^6.0.0",
Expand All @@ -72,6 +74,7 @@
"mochify-istanbul": "^2.4.2",
"native-promise-only": "^0.8.1",
"npm-run-all": "^4.1.3",
"prettier": "^1.14.3",
"proxyquire": "^1.8.0",
"proxyquire-universal": "^1.0.8",
"proxyquireify": "^3.2.1",
Expand Down

0 comments on commit 5730481

Please sign in to comment.