Skip to content

Commit

Permalink
chore: first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocesarato committed Jun 5, 2021
0 parents commit 2f2db97
Show file tree
Hide file tree
Showing 40 changed files with 96,715 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
module.exports = {
root: true,
parser: "babel-eslint",
extends: [
"@react-native-community",
"plugin:react/recommended",
"plugin:react-native/all",
"standard",
"prettier",
],
plugins: ["jest", "react-hooks", "prettier", "simple-import-sort", "import"],
rules: {
"simple-import-sort/exports": "error",
"simple-import-sort/imports": [
"warn",
{
groups: [
[
// Packages. `react` related packages come first.
"^react$",
"^prop-types$",
"^react-native$",
"^react-native",
// Others libs
"^[A-Za-z0-9]",
"^",
],
// Relative imports
[
// Side effect imports.
"^\\u0000",
// Parent imports. Put `..` last.
"^\\.\\.(?!/?$)",
"^\\.\\./?$",
// Other relative imports. Put same-folder imports and `.` last.
"^\\./(?=.*/)(?!/?$)",
"^\\.(?!/?$)",
"^\\./?$",
],
],
},
],
"import/first": "warn",
"import/newline-after-import": "warn",
"import/no-duplicates": "warn",
"react-native/no-raw-text": 0,
"react-native/no-inline-styles": 0,
"react/prop-types": 0,
},
};
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.pbxproj -text
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# OSX
#
.DS_Store

package-lock.json

node_modules

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# BUCK
buck-out/
\.buckd/
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Bundle artifact
*.jsbundle
8 changes: 8 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Node Modules
**/node_modules
node_modules
# Example
example
# Assets
Assets
assets
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
bracketSpacing: true,
jsxBracketSameLine: false,
singleQuote: false,
trailingComma: "all",
tabWidth: 2,
semi: true,
};
Loading

0 comments on commit 2f2db97

Please sign in to comment.