Skip to content

Commit

Permalink
chore: fix plugin-packer eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
nameless-mc committed Oct 22, 2024
1 parent 8dbdf2c commit 04d261c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
4 changes: 0 additions & 4 deletions packages/plugin-packer/bin/.eslintrc.js

This file was deleted.

9 changes: 9 additions & 0 deletions packages/plugin-packer/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import rootConfig from "../../eslint.config.mjs";
import siteConfig from "./site/eslint.config.mjs";
import binConfig from "./bin/eslint.config.mjs";
import globals from "globals";

/** @type {import("eslint").Linter.Config[]} */
export default [
Expand All @@ -16,4 +17,12 @@ export default [
ignores: ["site/*", "bin/*"],
...configObject,
})),
{
files: ["test/**/*.{js,ts}"],
languageOptions: {
globals: {
...globals.jest,
},
},
},
];
8 changes: 0 additions & 8 deletions packages/plugin-packer/site/.eslintrc.js

This file was deleted.

5 changes: 0 additions & 5 deletions packages/plugin-packer/test/.eslintrc.js

This file was deleted.

0 comments on commit 04d261c

Please sign in to comment.