mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-22 23:28:56 +03:00
38 lines
887 B
JSON
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
|
|
}
|
|
]
|
|
}
|
|
}
|