Skip to content

Commit 48b91ef

Browse files
committed
chore: remove .prettierrc; update ESLint configuration to include additional ignores
1 parent 1a3131b commit 48b91ef

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.prettierrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@ import tseslint from "typescript-eslint";
33
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";
44

55
export default tseslint.config(
6+
{
7+
ignores: [
8+
"webpack.config.js",
9+
"dist/",
10+
"tests/generateFakeImage.js",
11+
"types/",
12+
"internalTests/",
13+
"jest.config.js",
14+
"node_modules/",
15+
],
16+
},
617
eslint.configs.recommended,
718
tseslint.configs.strictTypeChecked,
819
eslintPluginPrettierRecommended,
@@ -13,13 +24,6 @@ export default tseslint.config(
1324
tsconfigRootDir: ".",
1425
},
1526
},
16-
ignores: [
17-
"webpack.config.js",
18-
"dist/",
19-
"tests/generateFakeImage.js",
20-
"types/",
21-
"internalTests/",
22-
],
2327
rules: {
2428
"no-else-return": ["error", { allowElseIf: false }],
2529
"consistent-return": "error",

jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-undef */
21
/** @type {import('ts-jest').JestConfigWithTsJest} */
32
module.exports = {
43
preset: "ts-jest",

tsconfig.eslint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "./tsconfig.json",
33
"include": [
44
"tests/**/*",
5-
"eslint.config.mjs",
6-
"jest.config.js"
5+
"eslint.config.mjs"
76
]
87
}

0 commit comments

Comments
 (0)