Skip to content

Commit 2876834

Browse files
authored
(#8671) - eslint: introduce rule: eol-last
Co-authored-by: alxndrsn <alxndrsn>
1 parent 3d40789 commit 2876834

File tree

103 files changed

+103
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+103
-102
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
},
3434

3535
"rules": {
36+
"eol-last": "error",
3637
"no-empty": "off",
3738
"no-console": "off",
3839
"semi": ["error", "always"],

packages/node_modules/pouchdb-abstract-mapreduce/src/createViewSignature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ function createViewSignature(mapFun, reduceFun) {
2323
return stringify(mapFun) + stringify(reduceFun) + 'undefined';
2424
}
2525

26-
export default createViewSignature;
26+
export default createViewSignature;

packages/node_modules/pouchdb-adapter-http/src/promise-pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ function pool(promiseFactories, limit) {
5050
});
5151
}
5252

53-
export default pool;
53+
export default pool;

packages/node_modules/pouchdb-adapter-idb/src/allDocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,4 +249,4 @@ function idbAllDocs(opts, idb, callback) {
249249
runBatchedCursor(docStore, keyRange, opts.descending, limit + skip, onBatch);
250250
}
251251

252-
export default idbAllDocs;
252+
export default idbAllDocs;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
import { changesHandler as Changes } from 'pouchdb-utils';
2-
export default new Changes();
2+
export default new Changes();

packages/node_modules/pouchdb-adapter-idb/src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ export {
3232
META_STORE as META_STORE,
3333
LOCAL_STORE as LOCAL_STORE,
3434
DETECT_BLOB_SUPPORT_STORE as DETECT_BLOB_SUPPORT_STORE
35-
};
35+
};

packages/node_modules/pouchdb-adapter-idb/src/getAll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ function getAll(objectStore, keyRange, onSuccess) {
2525
objectStore.openCursor(keyRange).onsuccess = onCursor;
2626
}
2727

28-
export default getAll;
28+
export default getAll;

packages/node_modules/pouchdb-adapter-idb/src/runBatchedCursor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ function runBatchedCursor(objectStore, keyRange, descending, batchSize, onBatch)
8181
}
8282
}
8383

84-
export default runBatchedCursor;
84+
export default runBatchedCursor;

packages/node_modules/pouchdb-adapter-idb/src/taskQueue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ function enqueueTask(action, callback, PouchDB) {
4141

4242
export {
4343
enqueueTask,
44-
};
44+
};

packages/node_modules/pouchdb-adapter-leveldb-core/src/createEmptyBlobOrBuffer-browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ function createEmptyBlobOrBuffer(type) {
44
return createBlob([''], {type: type});
55
}
66

7-
export default createEmptyBlobOrBuffer;
7+
export default createEmptyBlobOrBuffer;

0 commit comments

Comments
 (0)