Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify to follow the rules of the new 'standard' #27

Merged
merged 1 commit into from
Sep 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@
"author": "Zeke Sikelianos <zeke@sikelianos.com> (http://zeke.sikelianos.com)",
"license": "MIT",
"dependencies": {
"async": "^2.0.1",
"commander": "^2.9.0",
"globby": "^6.0.0",
"lodash.flatten": "^4.2.0",
"lodash.range": "^3.1.5",
"ora": "^1.2.0",
"standard": "^10.0.2"
"async": "^2.6.1",
"commander": "^2.18.0",
"globby": "^8.0.1",
"lodash.flatten": "^4.4.0",
"lodash.range": "^3.2.0",
"ora": "^3.0.0",
"standard": "^12.0.1"
},
"devDependencies": {
"tap-spec": "^4.1.1",
"tape": "^4.6.0"
"tap-spec": "^5.0.0",
"tape": "^4.9.1"
},
"engines": {
"node": ">=4"
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/clean.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ It should allow creation of unused variables

```js
// `BrowserWindow` is declared but not used
const {BrowserWindow} = require('electron')
const { BrowserWindow } = require('electron')
```

It should allow orphan objects:
Expand Down Expand Up @@ -60,7 +60,7 @@ and wrapped arrays:
Electron docs have a bunch of non-node-style callbacks that don't have `err` as the first arg:

```javascript
const {app} = require('electron')
const { app } = require('electron')

app.on('certificate-error', (event, webContents, url, error, certificate, callback) => {
if (url === 'https://github.com') {
Expand Down