Skip to content

Commit

Permalink
Merge pull request #30 from jmyrland/fix-issue-29
Browse files Browse the repository at this point in the history
Fix related to issue #29
  • Loading branch information
F1LT3R authored Jan 29, 2020
2 parents 6dadcc5 + 425b518 commit 2430281
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ typings/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next

Expand Down
2 changes: 2 additions & 0 deletions packages/apps/app-typescript/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Required for running external components!
EXTEND_ESLINT=true
7 changes: 5 additions & 2 deletions packages/components-typescript/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
extends: [
'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin
// Extend on the config used in `react-scripts`
require.resolve('eslint-config-react-app'),
// If you want extra rules/extensions, it can be added here:
// 'plugin:react/recommended', // Uses the recommended rules from @eslint-plugin-react
// 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin
],
parserOptions: {
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
Expand Down

0 comments on commit 2430281

Please sign in to comment.