Skip to content

Commit ba627c0

Browse files
authored
v0.2.7
* feat(query): support `subcollections` of any depth - @lopesmcc * feat(tests): unit tests `subcollections` of any depth (including interactions with both `setListener` and `dataReducer`) * feat(build): `prettier` and `eslint-plugin-prettier` added for improved code styling
2 parents 7da8273 + a47a2f4 commit ba627c0

22 files changed

+616
-267
lines changed

.babelrc

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
"plugins": [
2626
"transform-inline-environment-variables"
2727
]
28+
},
29+
"test": {
30+
"plugins": [
31+
"transform-runtime",
32+
"transform-async-to-generator"
33+
]
2834
}
2935
}
3036
}

.eslintrc

+8-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,21 @@ root: true
22

33
parser: babel-eslint
44

5-
extends: [airbnb]
6-
plugins: [babel]
5+
extends: [airbnb, prettier]
6+
plugins: [babel, prettier]
77

88
env:
99
browser: true
1010
es6: true
1111
node: true
1212

1313
rules:
14+
prettier/prettier: ['error', {
15+
singleQuote: true, # airbnb
16+
trailingComma: 'all', # airbnb
17+
# arrow-parens: 0 # does not support requireForBlockBody
18+
}]
1419
no-console: 'error'
1520
no-confusing-arrow: 0
1621
no-case-declarations: 0
22+
arrow-parens: [2, "as-needed"]

.prettierrc

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
singleQuote: true # airbnb
2+
trailingComma: 'all'

0 commit comments

Comments
 (0)