mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-30 17:26:24 +02:00
♻️ Move nanoid to utils package (#1430)
This commit is contained in:
parent
d55131c2ab
commit
0fc7d0a0c8
12 changed files with 371 additions and 439 deletions
20
packages/eslint-config/react.js
vendored
Normal file
20
packages/eslint-config/react.js
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
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",
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue