Skip to content

Commit

Permalink
fix: move parserOptions back out
Browse files Browse the repository at this point in the history
  • Loading branch information
Akirtovskis committed Mar 24, 2022
1 parent c180e52 commit f48b067
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ module.exports = {
node: true,
commonjs: true,
},
parserOptions: {
tsconfigRootDir: __dirname,
ecmaVersion: 2020,
sourceType: "module",
project: ["./tsconfig.json"], // Specify it only for TypeScript files
},
overrides: [
{
files: ["*.ts", "*.tsx"], // Your TypeScript files extension

extends: ["@stacks/eslint-config"],
parserOptions: {
tsconfigRootDir: __dirname,
ecmaVersion: 2019,
sourceType: "module",
project: ["./tsconfig.json"], // Specify it only for TypeScript files
},
},
],
rules: {
Expand Down

0 comments on commit f48b067

Please sign in to comment.