Files
iNaturalistReactNative/.eslintrc.js
budowski 4b4b0f9244 Add ID - initial commit (#103) (#113)
* 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>
2022-07-02 16:01:48 -07:00

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/*"]
};