After few hours read susan source code. These are my suggestions for now:
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
| public class Human | |
| { | |
| public int Energy { get; private set; } | |
| public bool Tired { get; private set; } | |
| public void Eat(int calory) | |
| { | |
| Energy += calory; | |
| } |
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
| import RNFetchBlob from 'react-native-fetch-blob'; | |
| const DocumentDir = RNFetchBlob.fs.dirs.DocumentDir; | |
| const storagePath = `${DocumentDir}/persistStore`; | |
| const encoding = 'utf8'; | |
| const toFileName = name => ( | |
| name.split(':').join('-') | |
| ); |
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 = { | |
| parser: 'babel-eslint', | |
| env: { browser: true }, | |
| extends: 'airbnb', | |
| plugins: ['react', 'react-native', 'jsx-a11y', 'import', 'jest'], | |
| rules: { | |
| // Import Rules | |
| 'import/no-extraneous-dependencies': ['error', { devDependencies: true }], | |
| 'import/no-named-as-default': 1, | |
| 'import/prefer-default-export': 2, |