sandbox/npm/eslint-config
Yongmin Hong be3db3c067
npm(eslint-config): eslint shard config
Summary:
Yet another shared config for consolidation.

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

Test Plan: `arc land`, `npm publish`, and install it.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D331
2024-06-16 14:49:55 +09:00
..
eslint.config.js npm(eslint-config): eslint shard config 2024-06-16 14:49:55 +09:00
package.json npm(eslint-config): eslint shard config 2024-06-16 14:49:55 +09:00
README.md npm(eslint-config): eslint shard config 2024-06-16 14:49:55 +09:00

@revi/eslint-config

This is @revi's personal eslint config.

Config

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