Skip to content

Commit

Permalink
[temp] #203 config root file
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Jan 28, 2025
1 parent 94c38d5 commit 977be7a
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const config = {
ignores: [
"dist",
"jest.config.js",
"httpdocs",
"webpack.config.js",
"src/client",
"scripts",
"init",
"jest.testData.config.js",
],
languageOptions: {
ecmaVersion: "latest",
sourceType: "module",
parser: "@typescript-eslint/parser",
parserOptions: {
project: "tsconfig.json",
},
},
plugins: {
jest: require("eslint-plugin-jest"),
"@typescript-eslint": require("@typescript-eslint/eslint-plugin"),
},
rules: {
"jest/no-conditional-expect": "off",
},
linterOptions: {
env: {
node: true,
"jest/globals": true,
},
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
],
};

0 comments on commit 977be7a

Please sign in to comment.