Skip to content

Commit

Permalink
fix(deps): update dependency prettier to v2 (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored Mar 23, 2020
1 parent 74ad623 commit 20ef43d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@
"prettier/prettier": "error",
"block-scoped-var": "error",
"eqeqeq": "error",
"no-warning-comments": "warn",
"no-var": "error",
"prefer-const": "error",
"eol-last": "error"
"eol-last": "error",
"prefer-arrow-callback": "error",
"no-trailing-spaces": "error"
},
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"bracketSpacing": false,
"singleQuote": true,
"trailingComma": "es5"
"arrowParens": "avoid"
}
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"inquirer": "^7.0.0",
"meow": "^6.0.0",
"ncp": "^2.0.0",
"prettier": "^1.19.1",
"prettier": "^2.0.0",
"rimraf": "^3.0.0",
"update-notifier": "^4.0.0",
"write-file-atomic": "^3.0.0"
Expand Down
4 changes: 2 additions & 2 deletions test/test-init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ function hasExpectedDependencies(packageJson: PackageJson): boolean {
describe('init', () => {
const sandbox = sinon.createSandbox();

beforeEach(function() {
beforeEach(function () {
this.spawnSyncStub = sandbox.stub(cp, 'spawnSync');
});

afterEach(function() {
afterEach(function () {
this.spawnSyncStub.restore();
});

Expand Down

0 comments on commit 20ef43d

Please sign in to comment.