mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
418 create an index.js file for importing shared components (#427)
* Update .eslintrc.js * Create index.js * Change Button usage in GridItem * Replace imports * Add strings * Add hint prop to button * Add a11y hint prop to EvidenceButton * Add EvidenceButton to index * Add a11y props to EvidenceButton * Update UiLibrary.js * Add a11y props to CloseButton * Add CloseButton to index and UiLib * Rename function * Update string * Add a11y props to AddObsButton * Add Tabs to index * Linebreak * Add Typography to index * Remove unused text * Refactor UserIcon test coverage in it's own test * Add UserIcon to index * Add UserIcon to UiLib * Add InlineUser to index * Add Quality badge to index * Update UiLibrary.js * Remove unused component * Change AddObsButton a11y label * Change hint * Use consistent uri in snapshots * Add snapshot to InlineUser * Fix wrong user key * Update Tabs.test.js * Snapshot TODO * Update NavButton.js * Update snapshot * Add snapshot for active user icon * Remove snapshot result * Add ActivityCount to index * Update UiLibrary.js
This commit is contained in:
@@ -49,6 +49,11 @@ module.exports = {
|
||||
// raise alarms when you try to import things not declared in
|
||||
// package.json.
|
||||
"import/no-extraneous-dependencies": ["error", {}],
|
||||
"import/extensions": [2, {
|
||||
js: "never",
|
||||
jsx: "never",
|
||||
json: "always"
|
||||
}],
|
||||
"max-len": [
|
||||
"error",
|
||||
100,
|
||||
|
||||
Reference in New Issue
Block a user