ecency-mobile/.eslintrc.json
Mustafa Buyukcelebi 4ce950fab5 Configured eslint
2019-05-03 14:14:21 +03:00

38 lines
887 B
JSON

{
"extends": ["airbnb", "prettier", "prettier/react"],
"parser": "babel-eslint",
"env": {
"browser": true,
"jest": true
},
"plugins": ["react", "jsx-a11y", "import", "prettier"],
"rules": {
"react/jsx-filename-extension": [
2,
{
"extensions": [".js", ".jsx"]
}
],
"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",
"no-param-reassign": "off",
"no-case-declarations": "off",
"prettier/prettier": [
"error",
{
"trailingComma": "all",
"singleQuote": true,
"printWidth": 100
}
]
}
}