diff --git a/eslint.config.js b/eslint.config.js index b521ca4..9352faf 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -10,7 +10,7 @@ export default [ 'ignore' ] }, - ...ashNazg(['sauron', 'node']), + ...ashNazg(['sauron', 'node', 'browser']), { settings: { polyfills: [ diff --git a/package.json b/package.json index 796d44c..a3a5877 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "jsonpath" ], "browserslist": [ - "cover 100%" + "defaults, not op_mini all" ], "c8": { "reporter": [ diff --git a/rollup.config.js b/rollup.config.js index 89c0b6c..f7da6ff 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -22,6 +22,7 @@ const pkg = JSON.parse(await readFile('./package.json')); */ function getRollupObject ({ input, minifying, environment, + // eslint-disable-next-line no-shadow -- Ok external, format = 'umd' }) { @@ -71,6 +72,7 @@ function getRollupObject ({ function getRollupObjectByEnv ({minifying, environment}) { const input = `src/jsonpath-${environment}.js`; if (environment === 'node') { + // eslint-disable-next-line no-shadow -- Ok const external = ['vm']; return [ getRollupObject({