@atomicsmash/coding-standards 18.0.0-beta.3 → 18.0.0-beta.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @atomicsmash/coding-standards
2
2
 
3
+ ## 18.0.0-beta.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#540](https://github.com/AtomicSmash/packages/pull/540) [`01ebb55`](https://github.com/AtomicSmash/packages/commit/01ebb5548e71a6380b086514e091cf0f39a264d3) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Fixes for new ESLint config
8
+
9
+ - Updated dependencies [[`01ebb55`](https://github.com/AtomicSmash/packages/commit/01ebb5548e71a6380b086514e091cf0f39a264d3)]:
10
+ - @atomicsmash/eslint-config@18.0.0-beta.4
11
+ - @atomicsmash/browserslist-config@18.0.0-beta.4
12
+
3
13
  ## 18.0.0-beta.3
4
14
 
5
15
  ### Major Changes
@@ -3,10 +3,10 @@ const WARN = 1;
3
3
  const ERROR = 2;
4
4
 
5
5
  import js from "@eslint/js";
6
- import esLintComments from "@eslint-community/eslint-plugin-eslint-comments";
6
+ import esLintComments from "@eslint-community/eslint-plugin-eslint-comments/configs";
7
7
  import { defineConfig } from "eslint/config";
8
8
  import importPlugin from "eslint-plugin-import";
9
- import { playwrightConfigs } from "eslint-plugin-playwright";
9
+ import { default as playwrightPlugin } from "eslint-plugin-playwright";
10
10
  import reactPlugin from "eslint-plugin-react";
11
11
  import reactHooksPlugin from "eslint-plugin-react-hooks";
12
12
  import globals from "globals";
@@ -24,14 +24,14 @@ export const config = defineConfig([
24
24
  ],
25
25
  extends: [
26
26
  js.configs.recommended,
27
- esLintComments.configs.recommended,
27
+ esLintComments.recommended,
28
28
  tseslint.configs.strictTypeChecked,
29
29
  tseslint.configs.stylisticTypeChecked,
30
+ importPlugin.flatConfigs.recommended,
30
31
  importPlugin.flatConfigs.typescript,
31
32
  ],
32
33
  plugins: {
33
34
  "@typescript-eslint": tseslint.plugin,
34
- import: importPlugin,
35
35
  },
36
36
  languageOptions: {
37
37
  ecmaVersion: 2022,
@@ -130,7 +130,7 @@ export const config = defineConfig([
130
130
  extends: [
131
131
  reactPlugin.configs.flat.recommended,
132
132
  reactPlugin.configs.flat["jsx-runtime"],
133
- reactHooksPlugin.configs.flat["recommended-latest"],
133
+ reactHooksPlugin.configs.flat.recommended,
134
134
  ],
135
135
  settings: {
136
136
  react: {
@@ -150,7 +150,7 @@ export const config = defineConfig([
150
150
 
151
151
  export const playwrightConfig = defineConfig([
152
152
  {
153
- extends: [playwrightConfigs["flat/recommended"]],
153
+ extends: [playwrightPlugin.configs["flat/recommended"]],
154
154
  rules: {
155
155
  "playwright/expect-expect": [
156
156
  ERROR,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomicsmash/coding-standards",
3
3
  "type": "module",
4
- "version": "18.0.0-beta.3",
4
+ "version": "18.0.0-beta.4",
5
5
  "description": "A collection of coding standards configurations.",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
@@ -9,14 +9,17 @@
9
9
  "@cspell/cspell-types": "^9.7.0"
10
10
  },
11
11
  "peerDependencies": {
12
- "@atomicsmash/browserslist-config": "^18.0.0-beta.3",
13
- "@atomicsmash/eslint-config": "^18.0.0-beta.3",
12
+ "@atomicsmash/browserslist-config": "^18.0.0-beta.4",
13
+ "@atomicsmash/eslint-config": "^18.0.0-beta.4",
14
14
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
15
15
  "@eslint/js": "^8.57.1",
16
16
  "@wordpress/stylelint-config": "^23.33.0",
17
17
  "eslint": "^8.57.1",
18
18
  "eslint-config-prettier": "^8.10.2",
19
19
  "eslint-plugin-import": "^2.32.0",
20
+ "eslint-plugin-playwright": "^2.10.2",
21
+ "eslint-plugin-react": "^7.37.5",
22
+ "eslint-plugin-react-hooks": "^7.1.1",
20
23
  "globals": "^13.24.0",
21
24
  "prettier": "^3.8.1",
22
25
  "stylelint": "^16.26.1",