diff --git a/package.json b/package.json index b0b9e474017..f3436b4116f 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "watch:esm:release": "npm run build target:esm:release -- -w", "watch:esm:debug": "npm run build target:esm:debug -- -w", "docs": "typedoc", - "lint": "eslint scripts src test utils eslint.config.mjs rollup.config.mjs", + "lint": "eslint scripts src test utils build.mjs eslint.config.mjs rollup.config.mjs", "publint": "publint --level error", "serve": "serve build -l 51000 --cors", "test": "mocha --recursive --require test/fixtures.mjs", diff --git a/tests/.eslintrc.json b/tests/.eslintrc.json deleted file mode 100644 index 4668ae79fa4..00000000000 --- a/tests/.eslintrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "env": { - "mocha": true - } -} diff --git a/utils/rollup-babel-options.mjs b/utils/rollup-babel-options.mjs index 944e10d2c8b..c831f942b43 100644 --- a/utils/rollup-babel-options.mjs +++ b/utils/rollup-babel-options.mjs @@ -18,7 +18,7 @@ function babelOptions(isDebug, isUMD) { [ '@babel/preset-env', { bugfixes: !isUMD, - loose: true, // DECPRECATED IN BABEL 8 + loose: true, // DEPRECATED IN BABEL 8 modules: false, targets: { esmodules: !isUMD, diff --git a/utils/rollup-build-target.mjs b/utils/rollup-build-target.mjs index 07fa2019e77..3dcfd303f0c 100644 --- a/utils/rollup-build-target.mjs +++ b/utils/rollup-build-target.mjs @@ -4,7 +4,7 @@ import resolve from '@rollup/plugin-node-resolve'; import strip from '@rollup/plugin-strip'; import terser from '@rollup/plugin-terser'; -// unoffical package plugins +// unofficial package plugins import jscc from 'rollup-plugin-jscc'; import { visualizer } from 'rollup-plugin-visualizer';