
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@react-native/eslint-plugin
Advanced tools
This plugin is intended to be used in @react-native/eslint-config
. You probably want to install that package instead.
yarn add --dev eslint @react-native/eslint-plugin
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
Add to your eslint config (.eslintrc
, or eslintConfig
field in package.json
):
{
"plugins": ["@react-native"]
}
platform-colors
Enforces that calls to PlatformColor
and DynamicColorIOS
are statically analyzable to enable performance optimizations.
To run the tests in this package, run the following commands from the React Native root folder:
yarn
to install the dependencies. You just need to run this onceyarn jest packages/eslint-plugin-react-native
.v0.78.0
FuseboxClient.setClientMetadata
CDP method is removed. Instead, use ReactNativeApplication.enable
. (1a9780f0e3 by @huntie)FrescoBasedReactTextInlineImageViewManager
to internal (d5f33c19cb by @alanleedev)RootView
to Kotlin (21c9491926 by @fabriziocucci)GuardedResultAsyncTask
(67bff8734f by @mdvacca)FabricViewStateManager
(b25b65ba19 by @mdvacca)ComponentNameResolver
from public API (a4849cb3d6 by @mdvacca)RawValue(Runtime*, jsi::Value&)
constructor to make a RawValue
from a jsi::Value
. (03d2186ace by @hannojg)jest-diff v29.7.0
to devDependencies (b27bd00a38 by @andrewdacenko)console.table
to specify a list of columns to print in the table. (fd0894b1c7 by @rubennorte)--client-logs
flag (86db4fa90b by @huntie)pointerEvents
to TextProps
type. (3efbe33ce0 by @hyochan)resource-id
from the testID
prop (87b1bad45e by @mateoguzmana)getState
method for StateWrapperImpl
(ed36e896ac by @hannojg)source
parameter to generate-codegen-artifacts to avoid generating files not needed by libraries. (98b8f17811 by @cipolleschi)disableKeyboardShortcuts
. It can disable the keyboard shortcuts on iPads. (0154372b93 by @rezkiy37)BoxInspector
and refactored a code (f832c450a5 by @coado)console.table
(including Markdown format). (7154c62afb by @rubennorte)intersectionRect
required in NativeIntersectionObserverEntry
to reflect native logic. (8681fc2ab2 by @lunaleaps)typescript-config
module version to esnext
(5370347f54 by @mateoguzmana)ViewManagerInterface
(40a0cdbc99 by @mdvacca)ComponentNameResolver
to kotlin (385b9f4265 by @mdvacca)ReactSwitchManager
to Kotlin (b886bc4db9 by @krozniata)accessibilityLabel
(74bdab8bd8 by @sparga)ReactCookieJarContainer
internal. (18ebea533d by @javache)JSCHeapCapture
module, deprecated PackagerCommandListener#onCaptureHeapCommand (e06fa5d102 by @javache)animatedShouldUseSingleOp
is enabled. (746d584a23 by @javache)JSBigFileString
fails for non-zero offset arguments (7d0338cb0b by @jwajgelt)react-in-jsx-scope
rule in eslint config (ea56c432b7 by @matinzd)invariant
dependency (ee8088b615 by @tido64)console.table
to avoid mutating the received argument. (caa77fbe2b by @rubennorte)adjustsFontSizeToFit
not working for text with a single character (47822e9048 by @j-piasecki)maxFontSizeMultiplier
prop on Text
and TextInput
components in Fabric / New Architecture (ea49d4d1b01107a5ecbbbd4904f1d935e51d6b32 by @RickardZrinski)FLAG_SECURE
not respected in Modal dialog (7e029b0dcf by @mateoguzmana)setEventEmitterCallback
NoSuchMethodError on API lvl 26 (7dcbc799eb by @cortinico)str.replaceAll()
(b5b9e032c2 by @robhogan)resource-id
from testID
prop (52b6592559 by @mateoguzmana)SetColorScheme
should be called on the UI thread (2aa79979d3 by lihaitao)testID
correctly for horizontal scroll view (81c74cd35f by @mateoguzmana)pod install
warning (2f2281718a by @noway)null
value in TurboModule Interop layer (ebfd7057af by @cipolleschi)RefreshControl
is used inside of <Modal /> (6cb2684b43 by @sammy-SC)didUpdateDimensions
correctly (920867d949 by TobiasH)applicationDidEnterBackground
not being called (adaceba546 by @alextoudic)centerContent
losing taps and causing jitter (fe7e97a2fd by @gaearon)FAQs
ESLint rules for @react-native/eslint-config
The npm package @react-native/eslint-plugin receives a total of 383,796 weekly downloads. As such, @react-native/eslint-plugin popularity was classified as popular.
We found that @react-native/eslint-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.