mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
* Adds a component for adding identifications, both from Obs Detail and Obs Edit * Minor style and eslint change to disallow all-caps string literals Closes #103 Co-authored-by: Ken-ichi Ueda <kenichi.ueda@gmail.com>
23 lines
590 B
JavaScript
23 lines
590 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ["@react-native-community", "plugin:i18next/recommended"],
|
|
rules: {
|
|
quotes: [2, "double"],
|
|
"comma-dangle": [2, "never"],
|
|
"space-in-parens": [2, "always"],
|
|
"prettier/prettier": 0,
|
|
"i18next/no-literal-string": [2, {
|
|
words: {
|
|
// Minor change to the default to disallow all-caps string literals as well
|
|
exclude: ["[0-9!-/:-@[-`{-~]+"]
|
|
}
|
|
}],
|
|
"no-var": 1
|
|
},
|
|
// need this so jest doesn't show as undefined in jest.setup.js
|
|
env: {
|
|
"jest": true
|
|
},
|
|
ignorePatterns: ["/coverage/*"]
|
|
};
|