sandbox/npm/eslint-config/README.md
Yongmin Hong e0ca9f3e6a
npm/eslint-config: Bump version
Summary:
External version of D813.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: land, tag, push the tag, and watch GitHub Actions build and publish to npmjs.com

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D814
2024-10-23 16:42:41 +09:00

1.4 KiB

@revi/eslint-config

NPM Version GitHub License

This is @revi's personal eslint config.

Config

import globals from 'globals';
import pluginJs from '@eslint/js';
import eslintConfigPrettier from 'eslint-config-prettier';

export default [
  pluginJs.configs.recommended,
  {
    rules: {
      'no-undef': 'warn',
      'no-unused-vars': 'warn',
    },
  },
  {languageOptions: {globals: globals.browser}},
  eslintConfigPrettier,
];