Skip to content

Commit

Permalink
fix(lint): Also lint TypeScripts files (#338)
Browse files Browse the repository at this point in the history
## What does this PR do / solve?

Adding settings for the linter to work with typescript files 

## Overview of changes

Install Typescript Linter / prettier Modules
  • Loading branch information
Salayna committed Aug 25, 2020
1 parent 0f69009 commit 9fcbf97
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 202 deletions.
7 changes: 6 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"extends": ["plugin:prettier/recommended"],
"extends": [
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin
"prettier/@typescript-eslint", // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
"plugin:prettier/recommended"
],
"plugins": [],
"parserOptions": {
"experimentalObjectRestSpread": true,
Expand Down
Loading

0 comments on commit 9fcbf97

Please sign in to comment.