1. npx react-native init DIOnavigation
2. yarn add eslint -D
yarn eslint --init
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"feed": [ | |
{ | |
"id": 1, | |
"image": "https://res.cloudinary.com/robertosousa1/image/upload/v1597614176/clone-instagram/EfVhPSyUEAAfmfD_1_dqbkkx.png", | |
"small": "https://res.cloudinary.com/robertosousa1/image/upload/v1597614357/clone-instagram/_iaMvfkM_reasonably_small_varo9m.jpg", | |
"aspectRatio": 0.834, | |
"description": "Quem aí concorda? Rosto pensativo? Já diria o grande Linus Torvalds \"Falar é fácil, me mostre o código.\"", | |
"authorId": 1 | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
env: { | |
es2020: true, | |
}, | |
extends: ['plugin:react/recommended', 'airbnb', 'prettier', 'prettier/react'], | |
parser: 'babel-eslint', | |
parserOptions: { | |
ecmaFeatures: { | |
jsx: true, | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"v":"5.6.5","fr":30,"ip":0,"op":46,"w":1600,"h":1200,"nm":"Cart is Empty","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"Fireworks 1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[783,320,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[52,52,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[1,0],[1,-501.938]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.3843137254901961,0.40784313725490196,0.47058823529411764,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":1,"k":[{"i":{"x":[0.679],"y":[1.008]},"o":{"x":[0.349],"y":[0]},"t":24,"s":[1]},{"i":{"x":[0.671],"y":[1.012]},"o":{"x":[0.341],"y":[-0.001]},"t":27,"s":[5]},{"i":{"x":[0.57],"y":[0.995]},"o":{"x":[0.286],"y":[0.041]},"t":30,"s":[31]},{"t":44.0205078125,"s":[0]}],"ix":5},"lc":1,"lj":1,"ml":4,"bm":0,"nm":"Stroke 1 - AC Color 1","mn":"ADBE Vector Graphic - S |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"products": [ | |
{ | |
"id": "1", | |
"title": "Assinatura Trimestral", | |
"image_url": | |
"https://res.cloudinary.com/robertosousa1/image/upload/v1594492578/dio/quarterly_subscription_yjolpc.png", | |
"price": 150 | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
env: { | |
es2020: true, | |
}, | |
extends: ['plugin:react/recommended', 'airbnb', 'prettier', 'prettier/react'], | |
parser: 'babel-eslint', | |
parserOptions: { | |
ecmaFeatures: { | |
jsx: true, | |
}, |