Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 20e3d2e

Browse files
dignifiedquiredaviddias
authored andcommitted
fix(lint): install missing plugin
1 parent 443dd9e commit 20e3d2e

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

examples/bundle-browserify/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var IPFS = require('ipfs')
55
// Create the IPFS node instance
66
// for simplicity, we create a new repo everytime the node
77
// is created, because you can't init already existing repos
8-
const repoPath = '' + Math.random()
8+
const repoPath = String(Math.random())
99
const node = new IPFS(repoPath)
1010
const concat = require('concat-stream')
1111

examples/bundle-webpack/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class App extends React.Component {
2626

2727
// for simplicity, we create a new repo everytime the node
2828
// is created, because you can't init already existing repos
29-
const repoPath = '' + Math.random()
29+
const repoPath = String(Math.random())
3030
node = new IPFS(repoPath)
3131

3232
node.init({ emptyRepo: true, bits: 2048 }, function (err) {

examples/bundle-webpack/webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
var path = require('path')
24
var webpack = require('webpack')
35

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"npm": ">=3.0.0"
1919
},
2020
"scripts": {
21-
"lint": "eslint -c node_modules/aegir/config/eslintrc.yml src test",
21+
"lint": "aegir-lint",
2222
"coverage": "gulp coverage",
2323
"test": "gulp test",
2424
"test:node": "gulp test:node",
@@ -54,6 +54,7 @@
5454
"buffer-loader": "0.0.1",
5555
"chai": "^3.5.0",
5656
"detect-node": "^2.0.3",
57+
"eslint-plugin-react": "^6.7.1",
5758
"execa": "^0.5.0",
5859
"expose-loader": "^0.7.1",
5960
"form-data": "^2.1.2",

test/cli/test-object.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const repoPath = require('./index').repoPath
77
const describeOnlineAndOffline = require('../utils/on-and-off')
88
const ipfs = require('../utils/ipfs-exec')(repoPath)
99

10-
describe.only('object', () => {
10+
describe('object', () => {
1111
describeOnlineAndOffline(repoPath, () => {
1212
it('new', () => {
1313
return ipfs('object new').then((out) => {

0 commit comments

Comments
 (0)