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