♻️ Move nanoid to utils package (#1430)

This commit is contained in:
Luke Vella 2024-11-08 17:50:07 +00:00 committed by GitHub
parent d55131c2ab
commit 0fc7d0a0c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 371 additions and 439 deletions

20
packages/eslint-config/react.js vendored Normal file
View 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",
},
},
};
};