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

Commit

Permalink
fix(lint): install missing plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire authored and daviddias committed Nov 25, 2016
1 parent 443dd9e commit 20e3d2e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/bundle-browserify/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var IPFS = require('ipfs')
// Create the IPFS node instance
// for simplicity, we create a new repo everytime the node
// is created, because you can't init already existing repos
const repoPath = '' + Math.random()
const repoPath = String(Math.random())
const node = new IPFS(repoPath)
const concat = require('concat-stream')

Expand Down
2 changes: 1 addition & 1 deletion examples/bundle-webpack/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class App extends React.Component {

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

node.init({ emptyRepo: true, bits: 2048 }, function (err) {
Expand Down
2 changes: 2 additions & 0 deletions examples/bundle-webpack/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict'

var path = require('path')
var webpack = require('webpack')

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"npm": ">=3.0.0"
},
"scripts": {
"lint": "eslint -c node_modules/aegir/config/eslintrc.yml src test",
"lint": "aegir-lint",
"coverage": "gulp coverage",
"test": "gulp test",
"test:node": "gulp test:node",
Expand Down Expand Up @@ -54,6 +54,7 @@
"buffer-loader": "0.0.1",
"chai": "^3.5.0",
"detect-node": "^2.0.3",
"eslint-plugin-react": "^6.7.1",
"execa": "^0.5.0",
"expose-loader": "^0.7.1",
"form-data": "^2.1.2",
Expand Down
2 changes: 1 addition & 1 deletion test/cli/test-object.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const repoPath = require('./index').repoPath
const describeOnlineAndOffline = require('../utils/on-and-off')
const ipfs = require('../utils/ipfs-exec')(repoPath)

describe.only('object', () => {
describe('object', () => {
describeOnlineAndOffline(repoPath, () => {
it('new', () => {
return ipfs('object new').then((out) => {
Expand Down

0 comments on commit 20e3d2e

Please sign in to comment.