2.2.7 β’ Published 1 year ago
eslint-config-react-native-typescript v2.2.7
π΅οΈ eslint-config-react-native-typescript
ESLint configuration for React Native projects written in TypeScript.
β Features
- Based on @react-native-community/eslint-config but with extended ruleset.
- Leaves formatting to Prettier with eslint-config-prettier.
- Checks for cyclic imports/exports with eslint-plugin-import.
- Enforces consistent import order with eslint-plugin-import-order-alphabetical.
- Ensures accessible applications with eslint-plugin-react-native-a11y.
π© Installation
yarn add eslint-config-react-native-typescript
Extend the config in your .eslintrc
file.
{
"extends": "react-native-typescript"
}
πΌπ» Does this work with vanilla JavaScript?
Yes! (Except the TypeScript stuff of course)
π§ Configuration
Simply override any rule by assigning new rules in your .eslintrc
file.
{
"extends": "react-native-typescript",
"rules": {
"no-console": 2
}
}
π§Ά Dependencies
Your project needs ESLint and TypeScript installed for this config to work correctly.
yarn add typescript eslint
π License
2.2.7
1 year ago
2.2.6
4 years ago
2.2.5
5 years ago
2.2.4
5 years ago
2.2.3
5 years ago
2.2.2
5 years ago
2.2.1
5 years ago
2.2.0
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.5.0
5 years ago
1.4.0
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.0
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago