Files
react-native/packages/eslint-config-react-native-community/package.json
satyajit.happy b49fdd19e4 Add typescript support to the ESLint config (#24100)
Summary:
This adds TypeScript support to the community ESLint config. Our babel preset supports TypeScript by default, so it's nice to have TypeScript support pre-configured in the ESLint config too.

Note: Users need to install `typescript` in their project for linting to work for TypeScript files.

[General] [Added] - Add TypeScript support to the ESLint config
Pull Request resolved: https://github.com/facebook/react-native/pull/24100

Differential Revision: D14597127

Pulled By: cpojer

fbshipit-source-id: dfbf1b97061ed6e8c46aa49adb21630f5acdb5d1
2019-03-25 21:28:26 -07:00

30 lines
803 B
JSON

{
"name": "@react-native-community/eslint-config",
"version": "0.0.3",
"description": "ESLint config for React Native",
"main": "index.js",
"repository": {
"type": "git",
"url": "git@github.com:facebook/react-native.git"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^1.5.0",
"@typescript-eslint/parser": "^1.5.0",
"babel-eslint": "10.0.1",
"eslint-plugin-eslint-comments": "^3.1.1",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-jest": "22.4.1",
"eslint-plugin-prettier": "2.6.2",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "^1.5.1",
"eslint-plugin-react-native": "3.6.0",
"prettier": "1.16.4"
},
"peerDependencies": {
"eslint": ">=5"
},
"devDependencies": {
"eslint": "^5.1.0"
}
}