<commit_before>'use strict';

const usePlugin = require('@pob/use-eslint-plugin');

usePlugin(require('eslint-plugin-node/package.json'));

module.exports = {
  plugins: ['node'],

  rules: {
    // like commons
    'node/no-deprecated-api': 'error',
    'node/no-extraneous-import': 'error',
    'node/no-unpublished-bin': 'error',
    'node/no-unsupported-features/es-builtins': 'error',
    'node/no-unsupported-features/node-builtins': 'error',
    'node/process-exit-as-throw': 'error',
    'node/shebang': 'error',

    // disable no-unsupported-features when using babel
    'node/no-unsupported-features': 'off',
    'node/no-unsupported-features/es-syntax': 'off',
    'node/no-missing-import': 'off',
    'node/no-unpublished-import': 'off',

    // already checked by import plugin
    'node/no-unpublished-require': 'off',
  },
};
<commit_msg>fix: disable node/no-extraneous-import<commit_after>'use strict';

const usePlugin = require('@pob/use-eslint-plugin');

usePlugin(require('eslint-plugin-node/package.json'));

module.exports = {
  plugins: ['node'],

  rules: {
    // like commons
    'node/no-deprecated-api': 'error',
    'node/no-unpublished-bin': 'error',
    'node/no-unsupported-features/es-builtins': 'error',
    'node/no-unsupported-features/node-builtins': 'error',
    'node/process-exit-as-throw': 'error',
    'node/shebang': 'error',

    // disable no-unsupported-features when using babel
    'node/no-unsupported-features': 'off',
    'node/no-unsupported-features/es-syntax': 'off',
    'node/no-missing-import': 'off',
    'node/no-unpublished-import': 'off',

    // already checked by import plugin
    'node/no-extraneous-import': 'off',
    'node/no-unpublished-require': 'off',
  },
};

{'fraction_non_alphanumeric': 0.1904212348528563, 'fraction_numerical': 0.0, 'mean_word_length': 3.6363636363636362, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4895369', 'n_tokens_mistral': 601, 'n_tokens_neox': 597, 'n_words': 94}