<commit_before>/**
 * Shared config used for all JavaScript (es5, es6, Angular, React)
 *
 * This is just JavaScript Standard Style with a few extra restrictions
 * to match our environment and team. These rules should still leave code
 * compliant with Standard.
 *
 * see standardjs.com
 */
module.exports = {
  extends: 'standard',
  env: {
    // assume all browser APIs are available
    browser: true
  },
  parser: 'babel-eslint',
  // globals: {
  //   // React is a global, and should never be written to
  //   React: false
  // },

  /**
   * Rule details at http://eslint.org/docs/rules/
   * Specific rules usually http://eslint.org/docs/rules/<rule-name>
   * First argument to a rule is always one of:
   *  - 0: disable rule
   *  - 1: generate warning
   *  - 2: generate error
   */
  rules: {
    // only allow LF
    'linebreak-style': [2, 'unix'],<commit_msg>Add link to standardjs.com<commit_after>/**
 * Shared config used for all JavaScript (es5, es6, Angular, React)
 *
 * This is just JavaScript Standard Style with a few extra restrictions
 * to match our environment and team. These rules should still leave code
 * compliant with Standard.
 *
 * see standardjs.com
 */
module.exports = {
  // https://standardjs.com/
  extends: 'standard',
  env: {
    // assume all browser APIs are available
    browser: true
  },
  parser: 'babel-eslint',
  // globals: {
  //   // React is a global, and should never be written to
  //   React: false
  // },

  /**
   * Rule details at http://eslint.org/docs/rules/
   * Specific rules usually http://eslint.org/docs/rules/<rule-name>
   * First argument to a rule is always one of:
   *  - 0: disable rule
   *  - 1: generate warning
   *  - 2: generate error
   */
  rules: {
    // only allow LF
    'linebreak-style': [2, 'unix'],
{'fraction_non_alphanumeric': 0.12319644839067703, 'fraction_numerical': 0.006659267480577136, 'mean_word_length': 2.584493041749503, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '7597704', 'n_tokens_mistral': 567, 'n_tokens_neox': 550, 'n_words': 201}