Skip to content

Commit

Permalink
eslint: do not typescript scold js files
Browse files Browse the repository at this point in the history
  • Loading branch information
crucialfelix committed Nov 15, 2019
1 parent 1cd7b04 commit 09d3006
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,18 @@ module.exports = {
args: "none",
},
],
"@typescript-eslint/no-var-requires": [0],

// indent: ["error", 2]
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
},
overrides: [
{
files: ["*.js"],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
},
},
],
};

0 comments on commit 09d3006

Please sign in to comment.