GeezerVison is showing github.com — typos fixed (#21955) · react/react@8a37b0e
File tree
Expand file treeCollapse file tree
Open diff view settings
eslint-plugin-react-hooks/src react-devtools-extensions/src
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -753,7 +753,7 @@ export default { |
753 | 753 | if ( |
754 | 754 | isUsedOutsideOfHook && |
755 | 755 | construction.type === 'Variable' && |
756 | | - // Objects may be mutated ater construction, which would make this |
| 756 | + // Objects may be mutated after construction, which would make this |
757 | 757 | // fix unsafe. Functions _probably_ won't be mutated, so we'll |
758 | 758 | // allow this fix for them. |
759 | 759 | depType === 'function' |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/react-devtools-extensions/src/astUtils.js +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -41,7 +41,7 @@ function checkNodeLocation( |
41 | 41 | } |
42 | 42 |
|
43 | 43 | if (column !== null) { |
44 | | - // Column numbers are representated differently between tools/engines. |
| 44 | + // Column numbers are represented differently between tools/engines. |
45 | 45 | // Error.prototype.stack columns are 1-based (like most IDEs) but ASTs are 0-based. |
46 | 46 | // |
47 | 47 | // In practice this will probably never matter, |
@@ -359,7 +359,7 @@ function isPotentialHookDeclaration(path: NodePath): boolean { |
359 | 359 | return false; |
360 | 360 | } |
361 | 361 |
|
362 | | -/// Check whether 'node' is hook decalration of form useState(0); OR React.useState(0); |
| 362 | +/// Check whether 'node' is hook declaration of form useState(0); OR React.useState(0); |
363 | 363 | function isReactFunction(node: Node, functionName: string): boolean { |
364 | 364 | return ( |
365 | 365 | node.name === functionName || |
|