-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Comparing changes
Open a pull request
base repository: jsx-eslint/eslint-plugin-react
base: v7.27.1
head repository: jsx-eslint/eslint-plugin-react
compare: v7.28.0
- 11 commits
- 12 files changed
- 4 contributors
Commits on Nov 11, 2021
-
[New]
function-component-definition
: support namedComponents option…… being an array This adds support to the `function-component-definition` rule to have the `namedComponents` rule be an array.
Configuration menu - View commit details
-
Copy full SHA for e3d3525 - Browse repository at this point
Copy the full SHA e3d3525View commit details
Commits on Nov 25, 2021
-
[Refactor]
no-arrow-function-lifecycle
, `no-unused-class-component-……methods`: use report/messages convention
Configuration menu - View commit details
-
Copy full SHA for 32f2e24 - Browse repository at this point
Copy the full SHA 32f2e24View commit details
Commits on Nov 26, 2021
-
[Tests] component detection: Add testing scaffolding
Test detection of Class Components and Stateless Function Components Lay scaffolding for other flavors of tests including further component types, pragma detection, and utils functions
Configuration menu - View commit details
-
Copy full SHA for 8b98e60 - Browse repository at this point
Copy the full SHA 8b98e60View commit details -
[New] components detection: track React imports
The default React import and named React import specifiers are tracked during a Components.detect rules definition. Rules using Components.detect can access the default import specifier using `components.getDefaultReactImport()` and an array any named import specifiers using `components.getNamedReactImports()` Within a rule, these specifier nodes can be checked to ensure identifiers in scope correspond with the imported identifiers. Not treating this as semver-minor since it's not part of the documented API.
Configuration menu - View commit details
-
Copy full SHA for a09debf - Browse repository at this point
Copy the full SHA a09debfView commit details
Commits on Nov 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d5bf8d9 - Browse repository at this point
Copy the full SHA d5bf8d9View commit details
Commits on Dec 11, 2021
-
[Test] parsers.all augments suggestion code output
parsers.all generates an extraComment which is appended to test case examples and their expected output. Eslint's suggestions API also allows recommended code changes, and RuleTester compares expected changes against generated changes. However, parsers.all didn't augment these expected outputs with the extraComment.
Configuration menu - View commit details
-
Copy full SHA for f7943d5 - Browse repository at this point
Copy the full SHA f7943d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4e311 - Browse repository at this point
Copy the full SHA ac4e311View commit details
Commits on Dec 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d56fdb8 - Browse repository at this point
Copy the full SHA d56fdb8View commit details -
[New] component detection: add
util.isReactHookCall
Rename Components test suite filename to match sibling lib/util/Components filename. Extend Components testComponentsDetect function to accept custom instructions, and to accumulate the results of processing those instructions. Add utility to check whether a CallExpression is a React hook call.
Configuration menu - View commit details
-
Copy full SHA for 5a25380 - Browse repository at this point
Copy the full SHA 5a25380View commit details
Commits on Dec 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 3db5285 - Browse repository at this point
Copy the full SHA 3db5285View commit details
Commits on Dec 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9be55ed - Browse repository at this point
Copy the full SHA 9be55edView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v7.27.1...v7.28.0