From 386b3465ca8fd8e956dfbb8df36d74e10efb9c86 Mon Sep 17 00:00:00 2001 From: minodisk Date: Tue, 8 May 2018 15:07:54 +0900 Subject: [PATCH] Add configuration files for external tools Signed-off-by: Daisuke --- .babelrc | 8 ++++++++ .eslintrc.json | 16 ++++++++++++++++ .flowconfig | 11 +++++++++++ 3 files changed, 35 insertions(+) create mode 100644 .babelrc create mode 100644 .eslintrc.json create mode 100644 .flowconfig 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]