@ethang/eslint-config 16.0.3 → 16.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  // @ts-check
2
2
  import { projectBuilder } from "@ethang/project-builder/project-builder.js";
3
3
 
4
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-call
4
5
  await projectBuilder("eslint-config-ethang", "master", {
5
6
  isLibrary: true,
6
7
  postVersionBumpScripts: ["DEDUPE", "LINT"],
package/eslint.config.js CHANGED
@@ -18,10 +18,13 @@ const languageOptions = {
18
18
  },
19
19
  };
20
20
 
21
+ const ignores = ["eslint.config.js", "node_modules", "dist"];
22
+
21
23
  export default tseslint.config(
22
24
  eslintPluginPrettier,
23
25
  {
24
- files: ["astro"],
26
+ files: ["**/*.{astro}"],
27
+ ignores,
25
28
  languageOptions,
26
29
  plugins: { astro },
27
30
  rules: {
@@ -43,7 +46,8 @@ export default tseslint.config(
43
46
  },
44
47
  },
45
48
  {
46
- files: ["jsx", "tsx"],
49
+ files: ["**/*.{jsx,tsx}"],
50
+ ignores,
47
51
  languageOptions,
48
52
  plugins: {
49
53
  react,
@@ -141,7 +145,8 @@ export default tseslint.config(
141
145
  },
142
146
  },
143
147
  {
144
- files: ["js", "ts", "mjs"],
148
+ files: ["**/*.{js,ts,mjs}"],
149
+ ignores,
145
150
  languageOptions,
146
151
  plugins: {
147
152
  "@typescript-eslint": tseslint.plugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "16.0.3",
3
+ "version": "16.0.4",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },