You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/coding-standards/js.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -384,4 +384,13 @@ This document outlines the necessary changes to implement custom Eslint rules.
384
384
}
385
385
}
386
386
}
387
-
```
387
+
```
388
+
### Applying custom rules
389
+
390
+
To add or modify custom rules, update `eslint.config.mjs` in the `magento-coding-standard` repository.
391
+
With latest version, configuration has changed from eslint to flat config. We use this https://eslint.org/docs/latest/use/configure/migration-guide as a
392
+
reference to migrate the eslint.
393
+
394
+
This reference doc provides the command and other information in detail. such as to convert old `.eslintrc` file with new config
0 commit comments