From 8b2c4a38a461ff5ecc95972291bc711e2c5dec9a Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 01:47:57 +0800 Subject: --- .../packages/eslint-config-custom/index.js | 6 ++++++ .../packages/eslint-config-custom/package.json | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 examples/with-yarn/packages/eslint-config-custom/index.js create mode 100644 examples/with-yarn/packages/eslint-config-custom/package.json (limited to 'examples/with-yarn/packages/eslint-config-custom') diff --git a/examples/with-yarn/packages/eslint-config-custom/index.js b/examples/with-yarn/packages/eslint-config-custom/index.js new file mode 100644 index 0000000..6024e8d --- /dev/null +++ b/examples/with-yarn/packages/eslint-config-custom/index.js @@ -0,0 +1,6 @@ +module.exports = { + extends: ["next", "turbo", "prettier"], + rules: { + "@next/next/no-html-link-for-pages": "off", + }, +}; diff --git a/examples/with-yarn/packages/eslint-config-custom/package.json b/examples/with-yarn/packages/eslint-config-custom/package.json new file mode 100644 index 0000000..4effb9e --- /dev/null +++ b/examples/with-yarn/packages/eslint-config-custom/package.json @@ -0,0 +1,22 @@ +{ + "name": "eslint-config-custom", + "version": "0.0.0", + "main": "index.js", + "license": "MIT", + "dependencies": { + "eslint-config-next": "latest", + "eslint-config-prettier": "^8.3.0", + "eslint-config-turbo": "latest", + "eslint-plugin-react": "7.28.0" + }, + "devDependencies": { + "eslint": "7.32.0", + "next": "latest", + "react": "18.2", + "react-dom": "18.2", + "typescript": "^4.5.3" + }, + "publishConfig": { + "access": "public" + } +} -- cgit v1.2.3-70-g09d2