From 8d1d5ca1cab59ead9085bf00f4ee5214bf10bfe8 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 31 Oct 2024 10:36:25 -0500 Subject: js: Migrate to ESLint 9 Signed-off-by: Matt Strapp --- src/packages/eslint-config/library.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 src/packages/eslint-config/library.js (limited to 'src/packages/eslint-config/library.js') diff --git a/src/packages/eslint-config/library.js b/src/packages/eslint-config/library.js deleted file mode 100644 index 9b59cc0..0000000 --- a/src/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)"], - }, - ], -}; -- cgit v1.2.3