4f83498462
Summary: Removes the `error-subclass-name` ESLint rule from `react-native/eslint-plugin`, and implements a new `require-extends-error` ESLint rule inside the React Native repository. This rule was only intended to be used for internal development of React Native. This will change `react-native/eslint-plugin` to no longer provide the `error-subclass-name` rule. NOTE: One behavior difference here is that I also implemented the desired behavior of checking classes that extend `Library.SomeError`. Changelog: [General][Removed] - `react-native/eslint-plugin` no longer provides the `error-subclass-name` rule. Reviewed By: lunaleaps Differential Revision: D39858882 fbshipit-source-id: 27b53216d77a15b3425bd9669dbc9d954c1c61da |
||
---|---|---|
.. | ||
eslint-tester.js | ||
platform-colors-test.js |