Skip to content

Commit 27f3534

Browse files
committed
Fixing lint issues
1 parent 13d7c5b commit 27f3534

File tree

4 files changed

+957
-1033
lines changed

4 files changed

+957
-1033
lines changed

lib/plugins/shared-entry-concat.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
const SharedEntryConcatPlugin = require('../webpack/shared-entry-concat-plugin');
1313
const PluginPriorities = require('./plugin-priorities');
14-
const path = require('path');
1514

1615
/**
1716
* @param {Array} plugins

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"test": "./node_modules/.bin/mocha --reporter spec test --recursive",
88
"lint": "./node_modules/.bin/eslint lib test index.js",
9-
"travis:lint": "npm run lint && npm run nsp",
10-
"nsp": "./node_modules/.bin/nsp check --output summary"
9+
"travis:lint": "npm run lint"
1110
},
1211
"bin": {
1312
"encore": "bin/encore.js"
@@ -45,6 +44,7 @@
4544
"resolve-url-loader": "^2.3.0",
4645
"semver": "^5.5.0",
4746
"style-loader": "^0.21.0",
47+
"tmp": "^0.0.33",
4848
"uglifyjs-webpack-plugin": "^1.2.5",
4949
"webpack": "^4.0.0",
5050
"webpack-chunk-hash": "^0.6.0",
@@ -72,15 +72,13 @@
7272
"less-loader": "^4.1.0",
7373
"mocha": "^3.2.0",
7474
"node-sass": "^4.5.3",
75-
"nsp": "^2.6.3",
7675
"postcss-loader": "^2.1.5",
7776
"preact": "^8.2.1",
7877
"preact-compat": "^3.17.0",
7978
"sass-loader": "^7.0.1",
8079
"sinon": "^2.3.4",
8180
"stylus": "^0.54.5",
8281
"stylus-loader": "^3.0.2",
83-
"tmp": "^0.0.33",
8482
"ts-loader": "^4.3.0",
8583
"typescript": "^2.3.4",
8684
"url-loader": "^1.0.1",

test/package-helper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ describe('package-helper', () => {
136136
const expectedPackages = [
137137
{ name: 'sass-loader', version: '^7.0.1' },
138138
{ name: 'node-sass' }
139-
]
139+
];
140+
140141
const actualPackages = packageHelper.addPackagesVersionConstraint(inputPackages);
141142
expect(JSON.stringify(actualPackages)).to.equal(JSON.stringify(expectedPackages));
142143
});

0 commit comments

Comments
 (0)