mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
20 lines
417 B
JavaScript
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",
|
|
},
|
|
},
|
|
};
|
|
};
|