Skip to content

Commit

Permalink
Updated packages and applied new linting rules
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Feb 2, 2021
1 parent 871fd61 commit bb25738
Show file tree
Hide file tree
Showing 7 changed files with 730 additions and 1,075 deletions.
12 changes: 2 additions & 10 deletions .eslintrc.js
Expand Up @@ -2,15 +2,7 @@ module.exports = {
root: true,
extends: '@dooboo/eslint-config',
rules: {
'max-len': [
'error',
{
code: 100,
ignoreRegExpLiterals: true,
ignoreComments: true,
ignoreUrls: true,
ignoreStrings: true,
},
],
'eslint-comments/no-unlimited-disable': 0,
'eslint-comments/no-unused-disable': 0,
},
};
8 changes: 8 additions & 0 deletions .prettierrc.js
@@ -0,0 +1,8 @@
module.exports = {
trailingComma: "all",
arrowParens: "always",
singleQuote: true,
jsxSingleQuote: false,
jsxBracketSameLine: true,
bracketSpacing: false,
};
6 changes: 4 additions & 2 deletions IapExample/.prettierrc.js
@@ -1,6 +1,8 @@
module.exports = {
trailingComma: 'all',
arrowParens: 'always',
singleQuote: true,
jsxSingleQuote: false,
bracketSpacing: false,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
};
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -15,6 +15,8 @@

The `react-native-iap` module hasn't been maintained well recently. We are thinking of participating again and make the module healthier. Please refer to [2021 Maintenance plan](https://github.com/dooboolab/react-native-iap/issues/1241) and share with us how you or your organization is using it. Happy new year 🎉

## Introduction

This react-native module will help you access the In-app purchases capabilities of your phone on the `Android`, `iOS` platforms and the `Amazon` platform (Beta).

**Keep in mind** `react-native-iap` will provide the basic features you need but is not a turnkey solution, implementing In-app purchases in your app will still require quite some work.<br/>
Expand Down

0 comments on commit bb25738

Please sign in to comment.