diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..a5f9f04 --- /dev/null +++ b/.babelrc @@ -0,0 +1,8 @@ +{ + "env": { + "test": { + "presets": ["flow"], + "plugins": ["transform-react-jsx", "transform-es2015-modules-commonjs"] + } + } +} diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..33a5706 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,16 @@ +{ + "parser": "babel-eslint", + "extends": [ + "standard", + "prettier", + "prettier/flowtype", + "plugin:flowtype/recommended" + ], + "plugins": ["flowtype"], + "env": { + "jest": true + }, + "rules": { + "standard/no-callback-literal": false + } +} diff --git a/.flowconfig b/.flowconfig new file mode 100644 index 0000000..1fed445 --- /dev/null +++ b/.flowconfig @@ -0,0 +1,11 @@ +[ignore] + +[include] + +[libs] + +[lints] + +[options] + +[strict]