ecency-mobile/.eslintrc.json

39 lines
992 B
JSON
Raw Normal View History

{
"parser": "babel-eslint",
2019-05-25 13:46:07 +03:00
"extends": [
"airbnb",
"plugin:prettier/recommended",
"plugin:eslint-comments/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:jest/recommended"
],
"env": {
2019-05-25 13:46:07 +03:00
"browser": true,
"jest": true,
"react-native/react-native": true
},
2019-05-25 13:46:07 +03:00
"plugins": ["react", "react-native", "jsx-a11y", "import", "prettier", "jest", "eslint-comments"],
"rules": {
"react/jsx-filename-extension": [
2,
{
"extensions": [".js", ".jsx"]
}
],
2019-05-25 13:46:07 +03:00
"max-len": ["error", 100],
"react/forbid-prop-types": [0],
"no-underscore-dangle": 0,
"react/require-default-props": [0],
"global-require": [0],
"func-names": ["error", "as-needed"],
"linebreak-style": 0,
"no-use-before-define": "off",
"import/prefer-default-export": "off",
"react/prop-types": 0,
"import/no-named-default": "off",
2018-11-13 01:57:58 +03:00
"no-param-reassign": "off",
2019-05-03 14:36:15 +03:00
"no-case-declarations": "off"
}
}