UNPKG

541 BJavaScriptView Raw
1"use strict";
2
3const {
4 lines
5} = require('mrm-core');
6
7const gitignore = [// Logs
8'logs', '*.log', 'npm-debug.log*', '.eslintcache', //
9'/coverage', '/dist', '/local', '/reports', '/node_modules', // Editor & OS
10'.DS_Store', 'Thumbs.db', '.idea', '*.iml', '.vscode', '*.sublime-project', '*.sublime-workspace'];
11const gitattributes = ['* text=auto', 'bin/* eol=lf', 'yarn.lock -diff', 'package-lock.json -diff'];
12
13module.exports = () => {
14 lines('.gitignore').add(gitignore).save();
15 lines('.gitattributes').add(gitattributes).save();
16};
\No newline at end of file