chore: add eslint

This commit is contained in:
Kyle Fang
2019-10-16 23:26:05 +08:00
parent 032bbf7517
commit 797bb0f4cb

12
functions/.eslintrc.js Normal file
View File

@@ -0,0 +1,12 @@
module.exports = {
root: true,
extends: ["typescript"],
rules: {
quotes: ["error", "double"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"comma-dangle": "off",
"react-native/no-inline-styles": "off",
"@typescript-eslint/indent": "off"
}
};