mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
* Remove flow types from src * Finish removing Flow * Clear out flow-typed, some flow mentions in docs, website flow usage, and some other config
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
{
|
|
"extends": [
|
|
"plugin:react/recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"prettier",
|
|
"prettier/react"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"plugins": [
|
|
"react",
|
|
"prettier"
|
|
],
|
|
"env": {
|
|
"jasmine": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": ["error", {
|
|
"trailingComma": "es5",
|
|
"singleQuote": true
|
|
}],
|
|
|
|
"no-underscore-dangle": "off",
|
|
"no-use-before-define": "off",
|
|
"no-unused-expressions": "off",
|
|
"new-cap": "off",
|
|
"no-plusplus": "off",
|
|
"no-class-assign": "off",
|
|
"no-duplicate-imports": "off",
|
|
|
|
"import/extensions": "off",
|
|
"import/no-extraneous-dependencies": "off",
|
|
"import/no-unresolved": "off",
|
|
|
|
"react/jsx-filename-extension": [
|
|
"off", { "extensions": [".js", ".jsx"] }
|
|
],
|
|
|
|
"react/sort-comp": "off",
|
|
"react/prefer-stateless-function": "off",
|
|
|
|
"react/forbid-prop-types": "warn",
|
|
"react/prop-types": "off",
|
|
"react/require-default-props": "off",
|
|
"react/no-unused-prop-types": "off",
|
|
},
|
|
"settings": {
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"modules": true
|
|
}
|
|
}
|
|
}
|