@comet/eslint-plugin 9.0.0-beta.0 → 9.0.0-beta.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @comet/eslint-plugin
2
2
 
3
+ ## 9.0.0-beta.1
4
+
3
5
  ## 9.0.0-beta.0
4
6
 
5
7
  ### Major Changes
@@ -12,6 +14,12 @@
12
14
  import { something } from "@comet/admin/lib/some/private/file";
13
15
  ```
14
16
 
17
+ ## 8.20.0
18
+
19
+ ## 8.19.0
20
+
21
+ ## 8.18.0
22
+
15
23
  ## 8.17.1
16
24
 
17
25
  ## 8.17.0
package/eslint.config.mjs CHANGED
@@ -1,3 +1,4 @@
1
+ import { defineConfig, globalIgnores } from "eslint/config";
1
2
  import eslint from "@eslint/js";
2
3
  import globals from "globals";
3
4
  import tseslint from "typescript-eslint";
@@ -9,11 +10,8 @@ import { configs as eslintPluginJsonc } from "eslint-plugin-jsonc";
9
10
  import importPlugin from "eslint-plugin-import";
10
11
  import packageJson from "eslint-plugin-package-json";
11
12
 
12
- /** @type {import('eslint')} */
13
- const config = [
14
- {
15
- ignores: ["lib/**/*", "bin/**/*"],
16
- },
13
+ export default defineConfig([
14
+ globalIgnores(["lib/**/*", "bin/**/*"]),
17
15
  eslint.configs.recommended,
18
16
  ...tseslint.configs.recommended,
19
17
  prettierConfig,
@@ -80,6 +78,4 @@ const config = [
80
78
  ],
81
79
  },
82
80
  },
83
- ];
84
-
85
- export default config;
81
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/eslint-plugin",
3
- "version": "9.0.0-beta.0",
3
+ "version": "9.0.0-beta.1",
4
4
  "description": "A set of ESLint rules and configurations for Comet projects",
5
5
  "type": "commonjs",
6
6
  "main": "lib/index.js",
@@ -41,7 +41,7 @@
41
41
  "dev": "tsc --watch",
42
42
  "lint": "run-p lint:prettier lint:eslint lint:tsc",
43
43
  "lint:ci": "pnpm run lint",
44
- "lint:eslint": "eslint --max-warnings 0 src/ **/*.json --no-warn-ignored",
44
+ "lint:eslint": "eslint --max-warnings 0 src/ '**/*.json' --no-warn-ignored",
45
45
  "lint:prettier": "pnpm exec prettier --check '*.{ts,js,json,md,yml,yaml}'",
46
46
  "lint:tsc": "tsc",
47
47
  "test": "jest",