Skip to content

Commit

Permalink
Update templates in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed May 20, 2023
1 parent e6222b5 commit 9d9fab0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 28 deletions.
9 changes: 4 additions & 5 deletions __tests__/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
/** @type {import('@typescript-eslint/utils').TSESLint.Linter.Config} */
const config = {
extends: ['upleveled'],
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: __dirname,
},
};

module.exports = config;
22 changes: 0 additions & 22 deletions __tests__/patches/[email protected]

This file was deleted.

19 changes: 18 additions & 1 deletion __tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "eslint-config-upleveled/tsconfig.base.json"
"extends": "eslint-config-upleveled/tsconfig.base.json",
"compilerOptions": {
"plugins": [
{
"name": "next"
}
]
},
"include": [
"**/.eslintrc.cjs",
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.jsx",
"**/*.cjs",
"**/*.mjs",
".next/types/**/*.ts"
]
}

0 comments on commit 9d9fab0

Please sign in to comment.