Skip to content

Commit

Permalink
merging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pingou committed Sep 1, 2019
2 parents 9b101ce + 478a92c commit 588d2af
Show file tree
Hide file tree
Showing 65 changed files with 9,051 additions and 5,333 deletions.
106 changes: 106 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,112 @@
"code",
"doc"
]
},
{
"login": "YangXiaomei",
"name": "Margaret",
"avatar_url": "https://avatars0.githubusercontent.com/u/8221990?v=4",
"profile": "https://github.com/YangXiaomei",
"contributions": [
"code",
"doc"
]
},
{
"login": "jordansexton",
"name": "Jordan Sexton",
"avatar_url": "https://avatars2.githubusercontent.com/u/1173161?v=4",
"profile": "https://stylisted.com",
"contributions": [
"code",
"doc"
]
},
{
"login": "MalcolmScruggs",
"name": "Malcolm Scruggs",
"avatar_url": "https://avatars1.githubusercontent.com/u/22333355?v=4",
"profile": "https://github.com/MalcolmScruggs",
"contributions": [
"code",
"tool",
"test"
]
},
{
"login": "Momazo7u7",
"name": "Momazo7u7",
"avatar_url": "https://avatars0.githubusercontent.com/u/42069617?v=4",
"profile": "https://github.com/Momazo7u7",
"contributions": [
"doc"
]
},
{
"login": "marconett",
"name": "Marco",
"avatar_url": "https://avatars1.githubusercontent.com/u/3315507?v=4",
"profile": "https://marco-nett.de",
"contributions": [
"doc"
]
},
{
"login": "jeluard",
"name": "Julien Eluard",
"avatar_url": "https://avatars1.githubusercontent.com/u/359723?v=4",
"profile": "https://github.com/jeluard",
"contributions": [
"doc"
]
},
{
"login": "CubeSugar",
"name": "Jian Wei",
"avatar_url": "https://avatars3.githubusercontent.com/u/3667305?v=4",
"profile": "https://github.com/CubeSugar",
"contributions": [
"code",
"doc"
]
},
{
"login": "svbutko",
"name": "Sergei Butko",
"avatar_url": "https://avatars2.githubusercontent.com/u/14828004?v=4",
"profile": "https://www.linkedin.com/in/svbutko/",
"contributions": [
"doc"
]
},
{
"login": "TMomemt",
"name": "TMomemt",
"avatar_url": "https://avatars3.githubusercontent.com/u/42024947?v=4",
"profile": "https://github.com/TMomemt",
"contributions": [
"code"
]
},
{
"login": "ericlewis",
"name": "Eric Lewis",
"avatar_url": "https://avatars0.githubusercontent.com/u/674503?v=4",
"profile": "http://www.try.com",
"contributions": [
"code",
"doc"
]
},
{
"login": "dvicory",
"name": "Daniel Vicory",
"avatar_url": "https://avatars2.githubusercontent.com/u/1542454?v=4",
"profile": "https://bzfx.net",
"contributions": [
"code",
"doc"
]
}
],
"contributorsPerLine": 7
Expand Down
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- run:
name: Run Tests
command: yarn ci:test
command: yarn ci

publish:
<<: *defaults
Expand Down
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib/
babel.config.js
75 changes: 75 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
module.exports = {
// Airbnb is the base, prettier is here so that eslint doesn't conflict with prettier
extends: ['airbnb', 'prettier', 'prettier/react'],
parser: '@typescript-eslint/parser',
plugins: ['react', 'react-native', 'import', '@typescript-eslint'],
rules: {
'no-console': 'off',
// Lines will be broken before binary operators
'operator-linebreak': ['error', 'before'],
// Allow imports from dev and peer dependencies
'import/no-extraneous-dependencies': [
'error',
{ devDependencies: true, peerDependencies: true },
],
'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],
// This rule doesn't play nice with Prettier
'react/jsx-one-expression-per-line': 'off',
// This rule doesn't play nice with Prettier
'react/jsx-wrap-multilines': 'off',
// Remove this rule because we only destructure props, but never state
'react/destructuring-assignment': 'off',
'react/prop-types': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': ['error', 'array'],
'@typescript-eslint/generic-type-naming': ['error', '^[a-zA-Z]+$'],
'@typescript-eslint/no-angle-bracket-type-assertion': 'error',
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-inferrable-types': 'error',
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-object-literal-type-assertion': 'error',
'@typescript-eslint/no-parameter-properties': 'error',
'@typescript-eslint/no-this-alias': 'error',
'@typescript-eslint/no-triple-slash-reference': 'error',
'@typescript-eslint/no-type-alias': [
'error',
{
allowAliases: 'always',
allowCallbacks: 'always',
allowMappedTypes: 'always',
},
],
'@typescript-eslint/no-unused-vars': [
'error',
{ ignoreRestSiblings: true },
],
'@typescript-eslint/prefer-interface': 'error',
'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/type-annotation-spacing': 'error',
},
settings: {
'import/resolver': {
node: {
extensions: [
'.js',
'.android.js',
'.ios.js',
'.jsx',
'.android.jsx',
'.ios.jsx',
'.tsx',
'.ts',
'.android.tsx',
'.android.ts',
'.ios.tsx',
'.ios.ts',
],
},
},
},
};
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @titozzz @jamonholmgren
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Bug report
about: Something is not working as expected
title: ''
labels: 'Type: bug report'
assignees: ''

---

<!---
Hello and thank you for taking the time to report a bug.
This is a community repository, meaning that it's everyone's responsibility to address bugs and send pull requests.
Maintainers will be here to help/guide you if you have questions.
Please search in the opened issues before submitting a new one.
Issues with no activity for a long time will be closed.
--->
**Bug description:**
<!---
A clear and concise description of what the bug is.
--->

**To Reproduce:**
<!---
Here you should put a link to a repository with a reproduction of the bug
Please also describe the steps required for the bug to happen
--->

**Expected behavior:**
<!---
A clear and concise description of what you expected to happen.
--->

**Screenshots/Videos:**
<!---
If applicable, add screenshots to help explain your problem.
--->

**Environment:**
- OS:
- OS version:
- react-native version:
- react-native-webview version:
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'Type: feature request'
assignees: ''

---

<!---
Hello and thank you for taking the time to report a bug.
This is a community repository, meaning that it's everyone's responsibility to address bugs and send pull requests.
Maintainers will be here to help/guide you if you have questions.
Please search in the opened issues before submitting a new one.
Issues with no activity for a long time will be closed.
--->
**Is your feature request related to a problem? If so, Please describe.**
<!---
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
--->

**Describe the solutions you came up with**
<!---
A clear and concise description of what you want to happen.
--->

**Additional context**
<!---
Add any other context about the feature request here.
--->
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,6 @@ bundles/

android/gradle
android/gradlew
android/gradlew.bat
android/gradlew.bat

lib/
10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// https://prettier.io/docs/en/options.html

module.exports = {
// Enables semicolons at the end of statements
semi: true,
// Formats strings with single quotes ('') instead of quotes ("")
singleQuote: true,
// Adds a trailing comma at the end of all lists (including function arguments)
trailingComma: 'all',
};
9 changes: 9 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
}
Loading

0 comments on commit 588d2af

Please sign in to comment.