[go: nahoru, domu]

Skip to content

Commit

Permalink
fix: eslint config problems
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulthink committed Nov 21, 2022
1 parent e010be6 commit 2b44a32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,12 @@ module.exports = {
project: ['./tsconfig.json']
},
plugins: ['@typescript-eslint'],
root: true
root: true,

overrides: [
{
files: ['**/*.js', '**/*.mjs', '**/*.cjs'],
parserOptions: {project: null}
}
]
};
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"include": ["./types/**/*", "./src/**/*", "./static/**/*"],
"include": ["./types/**/*", "./src/**/*", "./test/**/*", "./examples/**/*"],
"compilerOptions": {
"module": "ES2022",
"target": "ES2022",
Expand Down

0 comments on commit 2b44a32

Please sign in to comment.