1
0
Fork 0
mirror of https://github.com/lukevella/rallly.git synced 2025-06-11 15:11:50 +02:00
rallly/packages/eslint-config/react.js
2024-11-08 17:50:07 +00:00

20 lines
417 B
JavaScript

const preset = require("./preset");
/** @return {import("eslint").Linter.Config} */
module.exports = function (workspaceDirPath) {
const baseConfig = preset(workspaceDirPath);
return {
...baseConfig,
extends: [
...baseConfig.extends,
"plugin:react/recommended",
"plugin:react-hooks/recommended",
],
settings: {
react: {
version: "detect",
},
},
};
};