(filePath)
| 90 | } |
| 91 | |
| 92 | function dotFilePath(filePath) { |
| 93 | if (!filePath) { return filePath; } |
| 94 | return filePath |
| 95 | .replace('_eslintrc', '.eslintrc') |
| 96 | .replace('_gitignore', '.gitignore') |
| 97 | .replace('_gitattributes', '.gitattributes') |
| 98 | .replace('_babelrc', '.babelrc') |
| 99 | .replace('_flowconfig', '.flowconfig') |
| 100 | .replace('_buckconfig', '.buckconfig') |
| 101 | .replace('_watchmanconfig', '.watchmanconfig'); |
| 102 | } |
| 103 | |
| 104 | module.exports = init; |