Skip to content

Commit

Permalink
refactor(eslint): disable import/no-unused-modules per file
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonGolms committed Mar 7, 2023
1 parent d04dc44 commit 9c680ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
17 changes: 0 additions & 17 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,4 @@ module.exports = {
// HINT: prettier must be the last plugin to work
"prettier",
],
rules: {
"import/no-unused-modules": [
"error",
{
ignoreExports: [
"playwright/index.ts",
"src/index.tsx",
"src/**/*.d.ts",
"src/**/*.{spec,test}.{ts,tsx}",
"*.{js,ts}", // mostly configuration files
],
missingExports: true,
src: ["."],
unusedExports: true,
},
],
},
};
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-unused-modules */
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { App } from "./App";
Expand Down

0 comments on commit 9c680ca

Please sign in to comment.