-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(eslint): use common config #382
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
713238a
chore(eslint): use common config
atabel e38a6f6
yarn dedupe
atabel 4fb029d
use final 1.0.0 version
atabel 5cbebca
Merge branch 'master' into atoledano-common-eslint
atabel 948473e
size stats
atabel e1d7739
fix storybook build
atabel d378064
removed unused packages
atabel 08ef065
fix a11y audit
atabel 586fbf0
set concurency to 50% cores
atabel d8dc561
set min concurency to 2
atabel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,243 +1,2 @@ | ||
parser: babel-eslint # typescript parser is used as an override (see overrides section) | ||
env: | ||
es6: true | ||
node: true | ||
browser: true | ||
jest/globals: true | ||
parserOptions: # http://eslint.org/docs/user-guide/configuring.html#specifying-parser-options | ||
ecmaVersion: 11 | ||
sourceType: module | ||
ecmaFeatures: | ||
jsx: true | ||
settings: | ||
react: | ||
version: '16.11' | ||
plugins: | ||
- babel | ||
- filenames | ||
- jest | ||
- react | ||
- react-hooks | ||
- jsx-a11y | ||
- testing-library | ||
- flowtype | ||
- import | ||
- '@typescript-eslint' | ||
- '@telefonica/eslint-plugin-async-await' | ||
- '@telefonica/react-element-interface' | ||
extends: | ||
- 'eslint:recommended' | ||
rules: | ||
# Basic rules | ||
default-case: error | ||
dot-notation: error | ||
eqeqeq: error | ||
filenames/match-regex: [error, '^[a-z0-9]+(-[a-z0-9]+)*(\.(config))?$'] # matches: "foo-bar" or "foo-bar.config" | ||
new-cap: [error, {newIsCap: true, capIsNew: false}] | ||
no-cond-assign: error | ||
no-debugger: error | ||
no-delete-var: error | ||
no-dupe-keys: error | ||
no-duplicate-case: error | ||
no-empty: error | ||
no-eval: error | ||
no-extend-native: error | ||
no-extra-bind: error | ||
no-extra-boolean-cast: error | ||
no-fallthrough: error | ||
no-implied-eval: error | ||
no-inner-declarations: [error, both] | ||
no-invalid-regexp: error | ||
no-irregular-whitespace: error | ||
no-labels: error | ||
no-lone-blocks: error | ||
no-lonely-if: error | ||
no-loop-func: error | ||
no-new-func: error | ||
no-new-object: error | ||
no-new-wrappers: error | ||
no-octal: error | ||
no-proto: error | ||
no-redeclare: error | ||
no-return-assign: error | ||
no-shadow-restricted-names: error | ||
no-sparse-arrays: error | ||
no-undef-init: error | ||
no-unneeded-ternary: error | ||
no-unreachable: error | ||
babel/no-unused-expressions: error | ||
no-unused-vars: [error, {vars: all, args: after-used, ignoreRestSiblings: true}] | ||
no-use-before-define: error | ||
no-var: error | ||
no-with: error | ||
object-shorthand: error | ||
prefer-arrow-callback: error | ||
prefer-const: error | ||
prefer-spread: error | ||
strict: [error, global] | ||
use-isnan: error | ||
valid-typeof: error | ||
yoda: error | ||
|
||
# Jest rules. jest/recommended but setting all to error severity to fail in CI | ||
jest/no-alias-methods: error | ||
jest/no-disabled-tests: error | ||
jest/no-focused-tests: error | ||
jest/no-identical-title: error | ||
jest/no-jest-import: error | ||
jest/no-jasmine-globals: error | ||
jest/no-test-prefixes: error | ||
jest/valid-describe: error | ||
jest/valid-expect: error | ||
jest/valid-expect-in-promise: error | ||
jest/consistent-test-it: [error, {fn: test}] # not included in jest/recommended | ||
|
||
# react testing library | ||
testing-library/prefer-screen-queries: error | ||
testing-library/prefer-presence-queries: error | ||
testing-library/prefer-explicit-assert: error | ||
testing-library/no-wait-for-empty-callback: error | ||
testing-library/no-manual-cleanup: error | ||
testing-library/no-debug: error | ||
testing-library/no-dom-import: error | ||
testing-library/await-async-utils: error | ||
testing-library/await-async-query: error | ||
testing-library/no-await-sync-query: error | ||
testing-library/prefer-find-by: error | ||
testing-library/prefer-wait-for: error | ||
|
||
# react rules | ||
react/forbid-dom-props: [error, {forbid: [xmlns]}] | ||
react/jsx-fragments: [error, syntax] | ||
react/jsx-boolean-value: error | ||
react/jsx-curly-brace-presence: [2, {'props': 'never', 'children': 'never'}] | ||
react/jsx-no-duplicate-props: error | ||
react/jsx-no-undef: error | ||
react/jsx-uses-react: error | ||
react/jsx-uses-vars: error | ||
react/no-danger: error | ||
react/no-deprecated: error | ||
react/no-direct-mutation-state: error | ||
react/no-find-dom-node: error | ||
react/no-unknown-property: error | ||
react/react-in-jsx-scope: error | ||
react-hooks/rules-of-hooks: error | ||
react-hooks/exhaustive-deps: [error, {'additionalHooks': 'useIsomorphicLayoutEffect'}] | ||
'@telefonica/react-element-interface/params-length': error | ||
|
||
# Accessibility rules: https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules | ||
jsx-a11y/aria-role: error | ||
jsx-a11y/aria-props: error | ||
jsx-a11y/aria-proptypes: error | ||
jsx-a11y/no-access-key: error | ||
jsx-a11y/role-has-required-aria-props: error | ||
jsx-a11y/tabindex-no-positive: error | ||
jsx-a11y/scope: error | ||
jsx-a11y/label-has-associated-control: error | ||
jsx-a11y/role-supports-aria-props: error | ||
jsx-a11y/no-distracting-elements: error | ||
jsx-a11y/aria-unsupported-elements: error | ||
jsx-a11y/interactive-supports-focus: error | ||
jsx-a11y/no-interactive-element-to-noninteractive-role: error | ||
jsx-a11y/no-noninteractive-tabindex: error | ||
jsx-a11y/heading-has-content: error | ||
jsx-a11y/no-redundant-roles: error | ||
jsx-a11y/mouse-events-have-key-events: error | ||
jsx-a11y/no-onchange: error | ||
jsx-a11y/img-redundant-alt: error | ||
jsx-a11y/no-noninteractive-element-interactions: error | ||
jsx-a11y/no-static-element-interactions: [error, {handlers: [onClick, onKeyPress]}] | ||
|
||
# flow rules | ||
flowtype/array-style-complex-type: error | ||
flowtype/array-style-simple-type: error | ||
flowtype/define-flow-type: error | ||
flowtype/no-types-missing-file-annotation: error | ||
flowtype/require-valid-file-annotation: [error, never, {annotationStyle: line}] | ||
flowtype/use-flow-type: error | ||
|
||
# import rules | ||
import/export: error | ||
import/no-mutable-exports: error | ||
import/no-duplicates: error | ||
import/extensions: [error, {js: never, json: always}] | ||
import/no-named-default: error | ||
import/no-useless-path-segments: error | ||
import/no-self-import: error | ||
|
||
overrides: | ||
# overrides for TypeScript files | ||
- files: | ||
- '*.tsx' | ||
parser: '@typescript-eslint/parser' | ||
rules: | ||
'flowtype/no-types-missing-file-annotation': off | ||
no-unused-vars: off | ||
'@typescript-eslint/no-unused-vars': | ||
- error | ||
- vars: all | ||
args: after-used | ||
ignoreRestSiblings: true | ||
'@typescript-eslint/no-empty-function': off | ||
'@typescript-eslint/no-explicit-any': off | ||
'@typescript-eslint/ban-ts-comment': | ||
- error | ||
- ts-expect-error: allow-with-description | ||
ts-ignore: true | ||
ts-nocheck: true | ||
ts-check: false | ||
'@typescript-eslint/no-namespace': | ||
- error | ||
- allowDeclarations: false | ||
allowDefinitionFiles: false | ||
'no-restricted-syntax': | ||
- error | ||
- selector: TSEnumDeclaration | ||
message: 'enums are not allowed' | ||
'@typescript-eslint/prefer-as-const': off # TODO: review this rule and check how flowgen translates "as const" syntax | ||
no-use-before-define: off | ||
'@typescript-eslint/no-use-before-define': error | ||
'@typescript-eslint/explicit-module-boundary-types': error | ||
extends: | ||
- 'eslint:recommended' | ||
- 'plugin:@typescript-eslint/recommended' | ||
|
||
# overrides for Type Tests | ||
- files: | ||
- '**/__type_tests__/*-type-test.tsx' | ||
- '**/__type_tests__/*-type-test.js' | ||
rules: | ||
'no-unused-vars': off | ||
'babel/no-unused-expressions': off | ||
'@typescript-eslint/no-unused-vars': off | ||
|
||
# overrides for flow definitions | ||
- files: | ||
- '*.js.flow' | ||
rules: | ||
filenames/match-regex: [error, '^[a-z0-9]+(-[a-z0-9]+)*\.js$'] # matches: "foo-bar.js" | ||
no-use-before-define: off | ||
import/no-duplicates: off | ||
no-undef: off | ||
no-unused-vars: off | ||
- files: | ||
- '**/*+(screenshot|acceptance)-test.tsx' | ||
rules: | ||
'@telefonica/async-await/await-async-methods': | ||
[ | ||
error, | ||
{ | ||
page: ['click', 'type', 'screenshot', 'title', 'close', 'goBack'], | ||
screen: | ||
[ | ||
'findByPlaceholderToken', | ||
'findAllByPlaceholderToken', | ||
'findByToken', | ||
'findAllByToken', | ||
'findByLabelToken', | ||
'findAllByLabelToken', | ||
'findByAltToken', | ||
'findAllByAltToken', | ||
], | ||
}, | ||
] | ||
- '@telefonica/eslint-config' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,11 @@ | |
"parser": { | ||
"syntax": "typescript", | ||
"tsx": true | ||
}, | ||
"transform": { | ||
"react": { | ||
"runtime": "automatic" | ||
} | ||
} | ||
} | ||
} | ||
} |
Binary file renamed
BIN
+65.2 KB
...core-npm-7.16.0-5612f0ce31-a140f669da.zip → ...core-npm-7.16.5-f5f395bced-e5b76c6be9.zip
Binary file not shown.
Binary file added
BIN
+20.6 KB
.yarn/cache/@babel-eslint-parser-npm-7.16.5-91c07a6e0f-7d4fe169b3.zip
Binary file not shown.
Binary file renamed
BIN
+31 KB
...ator-npm-7.16.0-3f22faa87e-9ff53e0db7.zip → ...ator-npm-7.16.5-139000d4b9-621fa2da21.zip
Binary file not shown.
Binary file renamed
BIN
+8.58 KB
...gets-npm-7.16.0-153c8450fa-81117682e8.zip → ...gets-npm-7.16.3-200287cc80-038bcd43ac.zip
Binary file not shown.
Binary file added
BIN
+2.88 KB
.yarn/cache/@babel-helper-environment-visitor-npm-7.16.5-c3c9841dcc-f57da613f2.zip
Binary file not shown.
Binary file renamed
BIN
+12.1 KB
...orms-npm-7.16.0-928840049e-a3d0e5556f.zip → ...orms-npm-7.16.5-e3eb961f45-0463e7198e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+47.7 KB
...erse-npm-7.16.0-24c0670a0d-83f634019a.zip → ...erse-npm-7.16.5-b63257bb08-6bc31311b6.zip
Binary file not shown.
Binary file added
BIN
+5.95 KB
.yarn/cache/@telefonica-eslint-config-npm-1.0.0-c2c74b1126-b5777397c4.zip
Binary file not shown.
Binary file added
BIN
+4.22 KB
.yarn/cache/@telefonica-eslint-plugin-import-npm-1.0.0-9006645209-4683eca07b.zip
Binary file not shown.
Binary file removed
BIN
-9.32 KB
...che/@telefonica-eslint-plugin-react-element-interface-npm-1.0.0-41f17f8474-8a6c4c1365.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-661 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-4.26.0-3aa126164d-1019fe5d0c.zip
Binary file not shown.
Binary file added
BIN
+677 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-5.8.0-86456e23aa-96a21a3e19.zip
Binary file not shown.
Binary file removed
BIN
-165 KB
.yarn/cache/@typescript-eslint-experimental-utils-npm-4.26.0-28ba4f82f9-d48fa79ae7.zip
Binary file not shown.
Binary file added
BIN
+164 KB
.yarn/cache/@typescript-eslint-experimental-utils-npm-5.8.0-a337e912e2-c97798bcc3.zip
Binary file not shown.
Binary file removed
BIN
-18 KB
.yarn/cache/@typescript-eslint-parser-npm-4.26.0-e9a84f65e7-ae1655c18f.zip
Binary file not shown.
Binary file added
BIN
+12.7 KB
.yarn/cache/@typescript-eslint-parser-npm-5.8.0-c7c0e1d662-138b1d20a6.zip
Binary file not shown.
Binary file renamed
BIN
+280 KB
...ager-npm-4.26.0-c4eafae86b-4ab0f2da29.zip → ...nager-npm-5.8.0-5cf3a1f020-15f365a491.zip
Binary file not shown.
Binary file removed
BIN
-27.7 KB
.yarn/cache/@typescript-eslint-types-npm-4.26.0-77067d32a2-82b92efaf6.zip
Binary file not shown.
Binary file added
BIN
+26.3 KB
.yarn/cache/@typescript-eslint-types-npm-5.8.0-f2e019762c-eda7a2c462.zip
Binary file not shown.
Binary file removed
BIN
-125 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-4.26.0-7a3a45281f-191d7759a3.zip
Binary file not shown.
Binary file added
BIN
+123 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-5.8.0-a4e61ffa5d-67f51754d1.zip
Binary file not shown.
Binary file removed
BIN
-10.9 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-4.26.0-53c1972f63-6e89ab718c.zip
Binary file not shown.
Binary file added
BIN
+9.12 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-5.8.0-15ce34e26b-03a349d4a5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.85 KB
.yarn/cache/array.prototype.flat-npm-1.2.4-7b3397fc11-1ec5d9887a.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-10.3 KB
.yarn/cache/array.prototype.flatmap-npm-1.2.4-77697fdbe6-1d32ec6747.zip
Binary file not shown.
Binary file added
BIN
+10.5 KB
.yarn/cache/array.prototype.flatmap-npm-1.2.5-abee10cdd5-a14119a28e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+5.63 KB
...htein-npm-1.0.6-ca3bec3e25-4746e69c33.zip → ...htein-npm-1.0.7-dec33bdde6-ec8161cb38.zip
Binary file not shown.
Binary file removed
BIN
-13.7 KB
.yarn/cache/electron-to-chromium-npm-1.3.888-a5afdff2bd-0af9e4056a.zip
Binary file not shown.
Binary file added
BIN
+23.5 KB
.yarn/cache/electron-to-chromium-npm-1.4.25-a74bfb5983-03b01837a1.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+550 KB
...ract-npm-1.18.3-d113127c45-6bbf526b5a.zip → ...ract-npm-1.19.1-885c72759a-b6be841067.zip
Binary file not shown.
Binary file removed
BIN
-4.28 KB
.yarn/cache/eslint-import-resolver-node-npm-0.3.4-fa0173d267-a0db55ec26.zip
Binary file not shown.
Binary file added
BIN
+3.35 KB
.yarn/cache/eslint-import-resolver-node-npm-0.3.6-d9426786c6-6266733af1.zip
Binary file not shown.
Binary file removed
BIN
-12.4 KB
.yarn/cache/eslint-module-utils-npm-2.6.1-bfddc3ec15-3cc43a36a0.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+10.4 KB
.yarn/cache/eslint-plugin-fb-flow-npm-0.0.4-f2e5887262-e4c9f9367c.zip
Binary file not shown.
Binary file removed
BIN
-86.9 KB
.yarn/cache/eslint-plugin-flowtype-npm-5.7.2-8ce183496a-6749e59520.zip
Binary file not shown.
Binary file added
BIN
+94.7 KB
.yarn/cache/eslint-plugin-flowtype-npm-8.0.3-a302f4e4fe-30e63c5357.zip
Binary file not shown.
Binary file removed
BIN
-348 KB
.yarn/cache/eslint-plugin-import-npm-2.23.4-b5f1dc1c73-8c64bb96fa.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-209 KB
.yarn/cache/eslint-plugin-jsx-a11y-npm-6.4.1-c0ffc3303a-3032627638.zip
Binary file not shown.
Binary file added
BIN
+218 KB
.yarn/cache/eslint-plugin-jsx-a11y-npm-6.5.1-ea493bf2f2-311ab993ed.zip
Binary file not shown.
Binary file removed
BIN
-32.5 KB
.yarn/cache/eslint-plugin-react-hooks-npm-4.2.0-e09b1ea4ce-ead5c5be3d.zip
Binary file not shown.
Binary file added
BIN
+32.4 KB
.yarn/cache/eslint-plugin-react-hooks-npm-4.3.0-290cb54ea5-0ba1566ba0.zip
Binary file not shown.
Binary file removed
BIN
-220 KB
.yarn/cache/eslint-plugin-react-npm-7.24.0-16621467df-bf844f98d9.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-54.2 KB
.yarn/cache/eslint-plugin-testing-library-npm-4.6.0-abc6484605-ff70ccf003.zip
Binary file not shown.
Binary file added
BIN
+57.5 KB
.yarn/cache/eslint-plugin-testing-library-npm-5.0.1-87229cf8da-a609f65d4e.zip
Binary file not shown.
Binary file renamed
BIN
+9.3 KB
...-keys-npm-2.0.0-5c9523822c-e07e9863fb.zip → ...-keys-npm-2.1.0-c31806b6b9-e3081d7dd2.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.89 KB
.yarn/cache/get-symbol-description-npm-1.0.0-9c95a4bc1f-9ceff8fe96.zip
Binary file not shown.
Binary file renamed
BIN
+8.39 KB
...obby-npm-11.0.3-bb0a10f600-7d0d3e1bcb.zip → ...obby-npm-11.0.4-592ce71cca-d3e02d5e45.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.23 KB
.yarn/cache/is-shared-array-buffer-npm-1.0.1-84bc270861-2ffb92533e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.5 KB
.yarn/cache/string.prototype.matchall-npm-4.0.5-d1090aaa50-0a9d64661e.zip
Binary file not shown.
Binary file added
BIN
+15 KB
.yarn/cache/string.prototype.matchall-npm-4.0.6-cf27cbea59-07aca53ddd.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-disable filenames/match-regex */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. perhaps the rule could allow any There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it does |
||
// For a detailed explanation regarding each configuration property, visit: | ||
// https://jestjs.io/docs/en/configuration.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
|
||
/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this fixes the welcome story