Add coexistence checks to all enqueue methods to prevent loading both React and Grid.js assets simultaneously. Changes: - ReactAdmin.php: Only enqueue React assets when ?react=1 - Init.php: Skip Grid.js when React active on admin pages - Form.php, Coupon.php, Access.php: Restore classic assets when ?react=0 - Customer.php, Product.php, License.php: Add coexistence checks Now the toggle between Classic and React versions works correctly. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
11 lines
468 B
Markdown
11 lines
468 B
Markdown
# eslint-config-prettier
|
|
|
|
Turns off all rules that are unnecessary or might conflict with [Prettier].
|
|
|
|
This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier.
|
|
|
|
Note that this config _only_ turns rules _off,_ so it only makes sense using it together with some other config.
|
|
|
|
[prettier]: https://github.com/prettier/prettier
|
|
|
|
**[➡️ Full readme](https://github.com/prettier/eslint-config-prettier/)** |