diff options
Diffstat (limited to 'packages/eslint-config')
-rw-r--r-- | packages/eslint-config/README.md | 3 | ||||
-rw-r--r-- | packages/eslint-config/library.js | 34 | ||||
-rw-r--r-- | packages/eslint-config/package.json | 17 |
3 files changed, 0 insertions, 54 deletions
diff --git a/packages/eslint-config/README.md b/packages/eslint-config/README.md deleted file mode 100644 index 8b42d90..0000000 --- a/packages/eslint-config/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `@turbo/eslint-config` - -Collection of internal eslint configurations. diff --git a/packages/eslint-config/library.js b/packages/eslint-config/library.js deleted file mode 100644 index 9b59cc0..0000000 --- a/packages/eslint-config/library.js +++ /dev/null @@ -1,34 +0,0 @@ -const { resolve } = require("node:path"); - -const project = resolve(process.cwd(), "tsconfig.json"); - -/** @type {import("eslint").Linter.Config} */ -module.exports = { - extends: ["eslint:recommended", "prettier", "turbo"], - plugins: ["only-warn"], - globals: { - React: true, - JSX: true, - }, - env: { - node: true, - }, - settings: { - "import/resolver": { - typescript: { - project, - }, - }, - }, - ignorePatterns: [ - // Ignore dotfiles - ".*.js", - "node_modules/", - "dist/", - ], - overrides: [ - { - files: ["*.js?(x)", "*.ts?(x)"], - }, - ], -}; diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json deleted file mode 100644 index 395c345..0000000 --- a/packages/eslint-config/package.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "@repo/eslint-config", - "version": "0.0.0", - "devDependencies": { - "@typescript-eslint/eslint-plugin": "8.6.0", - "@typescript-eslint/parser": "8.6.0", - "@vercel/style-guide": "6.0.0", - "eslint-config-prettier": "^9.1.0", - "eslint-config-turbo": "^2.1.2", - "eslint-plugin-only-warn": "^1.1.0", - "typescript": "^5.6.2" - }, - "files": [ - "library.js" - ], - "private": true -} |