Skip to content

Commit ddd0673

Browse files
committed
- Changed eslint loader to eslint-loader
- Removed arrow function
1 parent a8b40b0 commit ddd0673

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#! /bin/bash
2+
set -e
23

34
if [ "${TRAVIS_BRANCH}" = "master" -a "${TRAVIS_PULL_REQUEST}" = "false" ]
45
then

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-sdk",
3-
"version": "2.3.1",
3+
"version": "2.3.2",
44
"description": "Official Javascript SDK for Kuzzle",
55
"author": "The Kuzzle Team <[email protected]>",
66
"repository": {
@@ -29,8 +29,9 @@
2929
"dependencies": {
3030
"bluebird": "3.4.6",
3131
"bufferutil": "^1.2.1",
32-
"uuid": "3.0.0",
32+
"eslint-loader": "^1.6.1",
3333
"utf-8-validate": "^1.2.1",
34+
"uuid": "3.0.0",
3435
"ws": "^1.1.1"
3536
},
3637
"devDependencies": {

src/kuzzleDataCollection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ KuzzleDataCollection.prototype.fetchAllDocuments = function (options, cb) {
319319
console.warn('KuzzleDataCollection.fetchAllDocuments may return extremely large amounts of documents, which may cause performance issues. Unless you know what you are doing, consider using KuzzleDataCollection.search or KuzzleDataCollection.scroll instead'); // eslint-disable-line no-console
320320
}
321321

322-
searchResult.documents.forEach(document => {
322+
searchResult.documents.forEach(function(document) {
323323
documents.push(document);
324324
});
325325
searchResult.next(getNextDocuments);

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
loaders: [
2525
{
2626
test: /\.js$/,
27-
loader: 'eslint',
27+
loader: 'eslint-loader',
2828
include: path.resolve(__dirname, './src/'),
2929
exclude: /node_modules/
3030
}

0 commit comments

Comments
 (0)