diff --git a/eg/show-xdg-paths-detailed.js b/eg/show-xdg-paths-detailed.js index 3729b90..08f5844 100644 --- a/eg/show-xdg-paths-detailed.js +++ b/eg/show-xdg-paths-detailed.js @@ -1,10 +1,15 @@ +/* eslint-env es6, node */ 'use strict'; const xdg = require('../src/lib'); +/* eslint-disable no-console , security/detect-object-injection, security-node/detect-crlf */ + console.log('xdg.name:', xdg.name); console.log({ xdg }); Object.keys(xdg).forEach((key) => { console.log(key, '=', xdg[key]()); }); + +/* eslint-enable no-console , security/detect-object-injection, security-node/detect-crlf */ diff --git a/eg/show-xdg-paths.js b/eg/show-xdg-paths.js index 66d2eca..758f025 100644 --- a/eg/show-xdg-paths.js +++ b/eg/show-xdg-paths.js @@ -1,7 +1,12 @@ +/* eslint-env es6, node */ 'use strict'; const xdg = require('../src/lib'); +/* eslint-disable no-console , security/detect-object-injection, security-node/detect-crlf */ + Object.keys(xdg).forEach((key) => { console.log(key, '=', xdg[key]()); }); + +/* eslint-enable no-console , security/detect-object-injection, security-node/detect-crlf */