Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 9c680ca

Browse files
committed
refactor(eslint): disable import/no-unused-modules per file
1 parent d04dc44 commit 9c680ca

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

.eslintrc.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,4 @@ module.exports = {
1717
// HINT: prettier must be the last plugin to work
1818
"prettier",
1919
],
20-
rules: {
21-
"import/no-unused-modules": [
22-
"error",
23-
{
24-
ignoreExports: [
25-
"playwright/index.ts",
26-
"src/index.tsx",
27-
"src/**/*.d.ts",
28-
"src/**/*.{spec,test}.{ts,tsx}",
29-
"*.{js,ts}", // mostly configuration files
30-
],
31-
missingExports: true,
32-
src: ["."],
33-
unusedExports: true,
34-
},
35-
],
36-
},
3720
};

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable import/no-unused-modules */
12
import { StrictMode } from "react";
23
import { createRoot } from "react-dom/client";
34
import { App } from "./App";

0 commit comments

Comments
 (0)