-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(reducers): cache reducer for increased performance - @puppybits (#…
…431) * feat(reducers): cache reducer for increased performance - @puppybits (#335) * feat(core): add mutate method for easier transactions - @puppybits * feat(core): add lodash module replacement webpack plugin - @puppybits * feat(core): replace uglify webpack plugin with terser webpack plugin - @puppybits * feat(build): add `firebase/firestore` as a webpack an external (improves UMD bundle size by not including Firestore SDK bundle) BREAKING CHANGES Firebase peer dependency now set to ^9 (previously ^8)
- Loading branch information
1 parent
0c1a738
commit fd3e2d8
Showing
47 changed files
with
68,683 additions
and
6,016 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,41 @@ | ||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
extends: [ | ||
'airbnb-base', | ||
'google', | ||
'prettier', | ||
'plugin:jsdoc/recommended' | ||
], | ||
plugins: [ | ||
'babel', | ||
'prettier', | ||
'jsdoc' | ||
], | ||
extends: ['airbnb-base', 'google', 'prettier', 'plugin:jsdoc/recommended'], | ||
plugins: ['babel', 'prettier', 'jsdoc'], | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true | ||
node: true, | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
moduleDirectory: ['node_modules', '/'] | ||
} | ||
} | ||
moduleDirectory: ['node_modules', '/'], | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
'prettier/prettier': ['error', { | ||
'singleQuote': true, | ||
'trailingComma': 'all' | ||
}], | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
singleQuote: true, | ||
trailingComma: 'all', | ||
}, | ||
], | ||
'no-console': 'error', | ||
'valid-jsdoc': 0, // from google | ||
'no-confusing-arrow': 0, | ||
'no-case-declarations': 0, | ||
'arrow-parens': [2, 'as-needed'], | ||
'arrow-parens': [2, 'always'], | ||
'prefer-default-export': 0, | ||
'jsdoc/newline-after-description': 0, | ||
'jsdoc/empty-tags': 0, // still add docs functions marked private | ||
'jsdoc/no-undefined-types': [1, { definedTypes: ['firebase'] }] | ||
} | ||
} | ||
'jsdoc/no-undefined-types': [ | ||
1, | ||
{ | ||
definedTypes: ['firebase', 'Mutation_v1', 'Mutation_v2', 'firstore'], | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn lint-staged | ||
yarn lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
module.exports = { | ||
singleQuote: true, // Airbnb | ||
trailingComma: 'all', | ||
arrowParens: 'always', | ||
}; |
Oops, something went wrong.