Skip to content

Commit a04dcba

Browse files
committed
chore: linting
1 parent 419029a commit a04dcba

18 files changed

+3299
-4081
lines changed

demo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* globals JSONPath */
1+
/* globals JSONPath -- Test UMD */
22
// /* eslint-disable import/unambiguous */
33

44
// Todo: Extract testing example paths/contents and use for a

demo/node-import-test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {JSONPath as jsonpath} from '../dist/index-node-esm.js';
22

3-
/* eslint-disable @stylistic/quotes, @stylistic/quote-props */
3+
/* eslint-disable @stylistic/quotes, @stylistic/quote-props -- Convenient */
44
const json = {
55
"store": {
66
"book": [{
@@ -35,12 +35,12 @@ const json = {
3535
}
3636
}
3737
};
38-
/* eslint-enable @stylistic/quotes, @stylistic/quote-props */
38+
/* eslint-enable @stylistic/quotes, @stylistic/quote-props -- Convenient */
3939

4040
const result = jsonpath({
4141
json,
4242
path: '$.store.book[*].author'
4343
});
4444

45-
// eslint-disable-next-line no-console
45+
// eslint-disable-next-line no-console -- Testing
4646
console.log('result', result);

0 commit comments

Comments
 (0)