Skip to content

Custom eslint plugin for enforcing proper management of React Native animations

License

Notifications You must be signed in to change notification settings

Khan/eslint-plugin-react-native-animation-linter

Repository files navigation

ESLint plugin for detecting React Native Animation bugs

Lint rules to ensure safe management of React Native animations.

Installation

Install ESLint.

$ npm install eslint

Install eslint-plugin-react-native-animation-linter

$ npm install eslint-plugin-react-native-animation-linter

Configuration

Add plugins section and specify react-native-animation-linter as a plugin.

{
  "plugins": [
    "react-native-animation-linter"
  ]
}

Finally, enable the rules that you would like to use. (There is currently only one rule, but we may add more!)

{
  "rules": {
    "react-native-animation-linter/must-tear-down-animations": 2,
  }
}

List of supported rules

About

Custom eslint plugin for enforcing proper management of React Native animations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published