-
Notifications
You must be signed in to change notification settings - Fork 475
chore: Move files around, new lint rules #1007
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 6 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"extends": ["@react-native-community"], | ||
"rules": { | ||
"no-console": "error", | ||
"quotes": ["error", "double", {"avoidEscape": true, "allowTemplateLiterals": true}] | ||
krizzu marked this conversation as resolved.
Show resolved
Hide resolved
|
||
} | ||
} |
This file was deleted.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this file be in root? Would we still pass the checklist in https://github.com/react-native-async-storage/async-storage/community? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"extends": "../../.eslintrc" | ||
"extends": "../../.config/.eslintrc" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"extends": "../../tsconfig.base.json", | ||
"extends": "../../.config/tsconfig.base.json", | ||
"include": ["./src/**/*"] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"../../.eslintrc", | ||
"../../.config/.eslintrc", | ||
"plugin:wdio/recommended" | ||
], | ||
"plugins": ["wdio"], | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import { config as commonConfig } from './common.conf'; | ||
import { config as commonConfig } from "./common.conf"; | ||
|
||
export const config: WebdriverIO.Config = { | ||
...commonConfig, | ||
capabilities: [ | ||
{ | ||
platformName: 'Android', | ||
platformName: "Android", | ||
maxInstances: 1, | ||
'appium:deviceName': 'Android Emulator', | ||
'appium:app': | ||
'example/android/app/build/outputs/apk/release/app-release.apk', | ||
'appium:automationName': 'UiAutomator2', | ||
'appium:newCommandTimeout': 240, | ||
'appium:appWaitActivity': | ||
'com.microsoft.reacttestapp.component.ComponentActivity', | ||
"appium:deviceName": "Android Emulator", | ||
"appium:app": | ||
"example/android/app/build/outputs/apk/release/app-release.apk", | ||
"appium:automationName": "UiAutomator2", | ||
"appium:newCommandTimeout": 240, | ||
"appium:appWaitActivity": | ||
"com.microsoft.reacttestapp.component.ComponentActivity", | ||
}, | ||
], | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import { config as commonConfig } from './common.conf'; | ||
import { config as commonConfig } from "./common.conf"; | ||
|
||
export const config: WebdriverIO.Config = { | ||
...commonConfig, | ||
capabilities: [ | ||
{ | ||
platformName: 'iOS', | ||
'appium:platformVersion': '16.4', | ||
'appium:deviceName': 'iPhone 14', | ||
'appium:automationName': 'XCUITest', | ||
'appium:app': | ||
'example/ios/build/Build/Products/Release-iphonesimulator/ReactTestApp.app', | ||
platformName: "iOS", | ||
"appium:platformVersion": "16.4", | ||
"appium:deviceName": "iPhone 14", | ||
"appium:automationName": "XCUITest", | ||
"appium:app": | ||
"example/ios/build/Build/Products/Release-iphonesimulator/ReactTestApp.app", | ||
}, | ||
], | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would keep this file in root for now since there are no nearest config file for IDEs to pick up. Either that, or we start adding .clang-format to individual packages that extend this one (I'm not sure this is supported).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So let's do this once there'll be more packages that uses clang format 👍