From 5c438df5f6787cdc6c393873a98590cc827667b9 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 20 Apr 2021 18:03:06 -0400 Subject: added linter configuration --- .eslintrc.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 2c466b12..f6a09f6a 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,10 +4,13 @@ module.exports = { parser: '@typescript-eslint/parser', plugins: ['react', 'react-native'], rules: { - 'react-native/no-unused-styles': 2, - 'react-native/no-raw-text': 1, - 'react-native/no-single-element-style-arrays': 2, - "react-hooks/exhaustive-deps": "off", - "eslint-comments/no-unused-disable": "off", - } + // TODO: Below lines are causing errors for `yarn lint`, + // commenting them out for now... + // 'react-native/no-unused-styles': 2, + // 'react-native/no-raw-text': 1, + // 'react-native/no-single-element-style-arrays': 2, + 'react-hooks/exhaustive-deps': 'off', + 'eslint-comments/no-unused-disable': 'off', + 'eslint-comments/no-unlimited-disable': 'off', + }, }; -- cgit v1.2.3-70-g09d2