sandbox/npm/eslint-config
Yongmin Hong cbfa3411b3
CI(GitHub Actions): fix npm-pub.yml to publish correctly
Summary:
Fix P185 failure.

Also fix L1 (`npm pkg fix`) for (eslint|prettier)-config.

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

Test Plan: `arc lint`, and push tag again

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D358
2024-06-18 19:26:34 +09:00
..
eslint.config.js CI: add eslint 2024-06-16 15:50:44 +09:00
package.json CI(GitHub Actions): fix npm-pub.yml to publish correctly 2024-06-18 19:26:34 +09:00
README.md npm(README): add shields.io badges 2024-06-17 12:46:50 +09:00

@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,
];