fix: eslint rule to suppress bogus dependency warning
MODIFY
.eslintrc.json
.eslintrc.json
"max-statements-per-line": ["error", { "max": 1 }],
"import/no-unresolved": "off",
"import/extensions": "off",
- "eslint-comments/no-unused-disable": "error"
+ "eslint-comments/no-unused-disable": "error",
+ "import/no-extraneous-dependencies": [
+ "error",
+ {
+ "devDependencies": true
+ }
+ ]
},
"ignorePatterns": [
"**/dist/**",

MODIFY
packages/ses/test262/compartment-shim.js
packages/ses/test262/compartment-shim.js
-// eslint-disable-next-line import/no-extraneous-dependencies
import test262Runner from '@agoric/test262-runner';
import '../ses.js';

MODIFY
packages/ses/test262/repair-legacy-accessors.js
packages/ses/test262/repair-legacy-accessors.js
-// eslint-disable-next-line import/no-extraneous-dependencies
import test262Runner from '@agoric/test262-runner';
import repairLegacyAccessors from '../src/repair-legacy-accessors.js';

MODIFY
packages/ses/test262/tame-global-date-object.js
packages/ses/test262/tame-global-date-object.js
-// eslint-disable-next-line import/no-extraneous-dependencies
import test262Runner from '@agoric/test262-runner';
import tameDateConstructor from '../src/tame-date-constructor.js';

MODIFY
packages/ses/test262/tame-global-error-object.js
packages/ses/test262/tame-global-error-object.js
-// eslint-disable-next-line import/no-extraneous-dependencies
import test262Runner from '@agoric/test262-runner';
import tameErrorConstructor from '../src/tame-error-constructor.js';

MODIFY
packages/ses/test262/tame-global-math-object.js
packages/ses/test262/tame-global-math-object.js
-// eslint-disable-next-line import/no-extraneous-dependencies
import test262Runner from '@agoric/test262-runner';
import tameMathObject from '../src/tame-math-object.js';

MODIFY
packages/ses/test262/tame-global-regexp-object.js
packages/ses/test262/tame-global-regexp-object.js
-// eslint-disable-next-line import/no-extraneous-dependencies
import test262Runner from '@agoric/test262-runner';
import tameRegExpConstructor from '../src/tame-regexp-constructor.js';

fix: eslint rule to suppress bogus dependency warning (#483)