From 3866aef373355e616de8f18ac782e6820ede27d5 Mon Sep 17 00:00:00 2001 From: hyochan Date: Fri, 4 Oct 2019 21:20:11 +0900 Subject: [PATCH] Fix switch case linting --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 59593fc..77a5414 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ module.exports = { sourceType: 'module', }, rules: { - indent: ['error', 2], + indent: ['error', 2, { SwitchCase: 1 }], 'no-unused-vars': 0, 'jsx-quotes': ['error', 'prefer-single'], // '@typescript-eslint/no-unused-vars': 'warn', diff --git a/package.json b/package.json index 5af0757..801abec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dooboo/eslint-config", - "version": "0.1.3", + "version": "0.1.4", "description": "ESLint config for React & React Native", "main": "index.js", "repository": {