<commit_before>const { lines } = require('mrm-core');

const gitignore = [
  // Logs
  'logs',
  '*.log',
  'npm-debug.log*',
  '.eslintcache',

  //
  '/coverage',
  '/dist',
  '/local',
  '/reports',
  '/node_modules',

  // Editor & OS
  '.DS_Store',
  'Thumbs.db',
  '.idea',
  '*.iml',
  '.vscode',
  '*.sublime-project',
  '*.sublime-workspace',
];

const gitattributes = [
  'package-lock.json -diff',
  '* text=auto',
  'bin/* eol=lf',
];

module.exports = () => {
  lines('.gitignore')
    .add(gitignore)
    .save();

  lines('.gitattributes')
    .add(gitattributes)
    .save();
};<commit_msg>refactor: .gitattributes<commit_after>const { lines } = require('mrm-core');

const gitignore = [
  // Logs
  'logs',
  '*.log',
  'npm-debug.log*',
  '.eslintcache',

  //
  '/coverage',
  '/dist',
  '/local',
  '/reports',
  '/node_modules',

  // Editor & OS
  '.DS_Store',
  'Thumbs.db',
  '.idea',
  '*.iml',
  '.vscode',
  '*.sublime-project',
  '*.sublime-workspace',
];

const gitattributes = [
  '* text=auto',
  'package-lock.json -diff',
  'yarn.lock -diff',
];

module.exports = () => {
  lines('.gitignore')
    .add(gitignore)
    .save();

  lines('.gitattributes')
    .add(gitattributes)
    .save();
};
{'fraction_non_alphanumeric': 0.24225122349102773, 'fraction_numerical': 0.0, 'mean_word_length': 2.7408536585365852, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7273093', 'n_tokens_mistral': 503, 'n_tokens_neox': 491, 'n_words': 77}