Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 committed Oct 8, 2024
1 parent 419029a commit a04dcba
Show file tree
Hide file tree
Showing 18 changed files with 3,299 additions and 4,081 deletions.
2 changes: 1 addition & 1 deletion demo/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* globals JSONPath */
/* globals JSONPath -- Test UMD */
// /* eslint-disable import/unambiguous */

// Todo: Extract testing example paths/contents and use for a
Expand Down
6 changes: 3 additions & 3 deletions demo/node-import-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {JSONPath as jsonpath} from '../dist/index-node-esm.js';

/* eslint-disable @stylistic/quotes, @stylistic/quote-props */
/* eslint-disable @stylistic/quotes, @stylistic/quote-props -- Convenient */
const json = {
"store": {
"book": [{
Expand Down Expand Up @@ -35,12 +35,12 @@ const json = {
}
}
};
/* eslint-enable @stylistic/quotes, @stylistic/quote-props */
/* eslint-enable @stylistic/quotes, @stylistic/quote-props -- Convenient */

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

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

0 comments on commit a04dcba

Please sign in to comment.