mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: Renamed `eslint-config-react-native` to `eslint-config-react-native-community`, due to the fact, that initial name is already taken on `npm`. Additionally, I added very simple `README.md` file, to prepare the package to be published. [General] [Changed] - Changed `eslint-config-react-native` name to `eslint-config-react-native-community` Pull Request resolved: https://github.com/facebook/react-native/pull/23718 Differential Revision: D14298553 Pulled By: cpojer fbshipit-source-id: bad5a42502ccdebf5f95d8217187be23bbf8f26c
38 lines
699 B
Plaintext
38 lines
699 B
Plaintext
{
|
|
"root": true,
|
|
|
|
"extends": [
|
|
"./packages/eslint-config-react-native-community/index.js"
|
|
],
|
|
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"**/__fixtures__/**/*.js",
|
|
"**/__mocks__/**/*.js",
|
|
"**/__tests__/**/*.js",
|
|
"jest/**/*.js",
|
|
"RNTester/**/*.js",
|
|
],
|
|
"globals": {
|
|
// Expose some Jest globals for test helpers
|
|
"afterAll": true,
|
|
"afterEach": true,
|
|
"beforeAll": true,
|
|
"beforeEach": true,
|
|
"expect": true,
|
|
"jest": true,
|
|
},
|
|
},
|
|
{
|
|
"files": [
|
|
"**/__tests__/**/*-test.js",
|
|
],
|
|
"env": {
|
|
"jasmine": true,
|
|
"jest": true,
|
|
},
|
|
},
|
|
],
|
|
}
|