@commercetools-frontend/eslint-config-mc-app 27.4.0 → 27.4.2

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/AGENTS.md ADDED
@@ -0,0 +1,18 @@
1
+ # eslint-config-mc-app
2
+
3
+ See root `AGENTS.md` for monorepo-wide context.
4
+
5
+ ## Purpose
6
+
7
+ Shared ESLint flat config (v9+) for Merchant Center Custom Applications and Custom Views, bundling rules for TypeScript, React, Jest, Testing Library, Cypress, accessibility, and Prettier.
8
+
9
+ ## How To Work Here
10
+
11
+ Root commands apply. This package has no tests of its own.
12
+
13
+ ## Gotchas
14
+
15
+ - This package is **excluded from preconstruct** — `index.js` is consumed directly via `require()`. There is no build step and no `dist/` directory.
16
+ - The config exports an **ESLint flat config array** (not a legacy `.eslintrc` object). The `index.js` file includes runtime detection that warns if loaded from a legacy `.eslintrc` file.
17
+ - Helper modules in `helpers/` (`eslint.js`, `rules-presets.js`, `has-jsx-runtime.js`) are internal utilities required by `index.js` — they must be kept in sync.
18
+ - A migration guide at `migrations/v27.md` documents the move from legacy eslintrc to flat config — major version bumps should include corresponding migration docs.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @commercetools-frontend/eslint-config-mc-app
2
2
 
3
+ ## 27.4.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @commercetools-frontend/babel-preset-mc-app@27.4.2
9
+
10
+ ## 27.4.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies []:
15
+ - @commercetools-frontend/babel-preset-mc-app@27.4.1
16
+
3
17
  ## 27.4.0
4
18
 
5
19
  ### Minor Changes
package/CLAUDE.md ADDED
@@ -0,0 +1,4 @@
1
+ # Claude Code Configuration
2
+
3
+ Read `AGENTS.md` for full project context. This package is part of the monorepo
4
+ — see the root `AGENTS.md` for monorepo-wide commands and conventions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/eslint-config-mc-app",
3
- "version": "27.4.0",
3
+ "version": "27.4.2",
4
4
  "description": "ESLint config used by Merchant Center customizations.",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@babel/core": "^7.22.17",
25
25
  "@babel/eslint-parser": "^7.22.15",
26
- "@commercetools-frontend/babel-preset-mc-app": "^27.4.0",
26
+ "@commercetools-frontend/babel-preset-mc-app": "^27.4.2",
27
27
  "@typescript-eslint/eslint-plugin": "^8.55.0",
28
28
  "@typescript-eslint/parser": "^8.55.0",
29
29
  "confusing-browser-globals": "^1.0.11",