Skip to content

Commit

Permalink
Merge pull request #7 from SimonGolms/dev
Browse files Browse the repository at this point in the history
next release
  • Loading branch information
SimonGolms committed Nov 18, 2023
2 parents 5376fcf + 7ab72e3 commit e7db56e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js
@@ -1,4 +1,4 @@
/** @type {import('eslint').ESLint.ConfigData} */
/** @type {import('eslint').ESLint.ConfigData & { parserOptions: import('eslint').ESLint.ConfigData['parserOptions'] & import('@typescript-eslint/parser').ParserOptions } } */
module.exports = {
env: {
'jest/globals': true,
Expand All @@ -11,6 +11,9 @@ module.exports = {
'plugin:prettier/recommended',
],
ignorePatterns: ['coverage', 'lib', 'node_modules'],
parserOptions: {
project: './tsconfig.eslint.json',
},
rules: {
'@typescript-eslint/consistent-type-definitions': ['error', 'type'],
'jest/consistent-test-it': ['error', { fn: 'test' }],
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -63,7 +63,6 @@
"@types/jest": "29.5.8",
"@types/node": "20.9.2",
"@types/qrcode": "1.5.5",
"@types/yargs": "17.0.19",
"dotenv-cli": "7.3.0",
"eslint": "8.54.0",
"eslint-config-prettier": "9.0.0",
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.eslint.json
@@ -0,0 +1,7 @@
{
"compilerOptions": {
"rootDir": "."
},
"extends": "./tsconfig.json",
"include": [".", "./.eslintrc.js", "./.releaserc.js", "./jest.config.ts"]
}
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -11,6 +11,6 @@
"target": "es5",
"types": ["jest", "node"]
},
"include": ["src/**/*", "./.eslintrc.js", "./.releaserc.js", "./jest.config.ts"],
"include": ["src/**/*"],
"exclude": ["node_modules"]
}

0 comments on commit e7db56e

Please sign in to comment.