Skip to content

Commit 9e00dbf

Browse files
committed
use shared configurations
1 parent 605435f commit 9e00dbf

File tree

5 files changed

+42
-11
lines changed

5 files changed

+42
-11
lines changed

.prettierrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.prettierrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./node_modules/introvertuous-configurations/base/.prettierrc.js');

package-lock.json

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"semantic-release": "semantic-release"
1616
},
1717
"devDependencies": {
18+
"introvertuous-configurations": "^1.3.0",
1819
"prettier": "^1.15.2",
1920
"semantic-release": "^15.9.15",
2021
"travis-deploy-once": "^5.0.7"

src/index.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
2-
Object.defineProperty(exports, "__esModule", { value: true });
3-
const reactNativeStorage = require("react-native-storage");
4-
require("./mqttws31");
1+
Object.defineProperty(exports, '__esModule', { value: true });
2+
const reactNativeStorage = require('react-native-storage');
3+
require('./mqttws31');
54

65
/**
76
* see https://github.com/sunnylqm/react-native-storage for more details
87
* @param options {object}
98
*/
109

11-
function init(options) {
12-
localStorage = new reactNativeStorage.default(options);
10+
function init(options) {
11+
localStorage = new reactNativeStorage.default(options);
1312
}
1413

15-
exports.default = init;
14+
exports.default = init;

0 commit comments

Comments
 (0)