mirror of
https://github.com/ente-io/ente.git
synced 2025-05-23 19:56:27 +00:00
This prevents it complaining about a missing React import. Enabling this is recommended by the vite starter itself: > Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list
6 lines
175 B
JavaScript
6 lines
175 B
JavaScript
/* eslint-env node */
|
|
module.exports = {
|
|
extends: ["./eslintrc-react.js", "plugin:react/jsx-runtime"],
|
|
ignorePatterns: [".eslintrc.cjs", "vite.config.ts", "dist"],
|
|
};
|