From e7a31560d2ffc83f8fff9d7388fd13af537b6f5f Mon Sep 17 00:00:00 2001 From: Peace Date: Tue, 10 Apr 2018 10:19:39 -0500 Subject: [PATCH] Update NPM-version to v0.0.27 eslint: allow empty arrow functions --- .eslintrc | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index 9b9aba36..f6222176 100644 --- a/.eslintrc +++ b/.eslintrc @@ -74,7 +74,7 @@ afterColon: true, align: "value" }], - no-empty-function: 2, + no-empty-function: [2, {allow: ["arrowFunctions"]}], comma-dangle: ["error", { "arrays": "always-multiline", "objects": "always-multiline", diff --git a/package.json b/package.json index 43576009..f2665127 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "react-native-modal-selector", - "version": "0.0.26", + "version": "0.0.27", "description": "A cross-platform (iOS / Android), selector/picker component for React Native that is highly customizable and supports sections.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "postversion": "git push && git push --tags", - "lint": "eslint ./", - "lint-fix": "eslint --fix ./" + "lint": "./node_modules/.bin/eslint ./", + "lint-fix": "./node_modules/.bin/eslint --fix ./" }, "repository": { "type": "git",