sandbox/npm/eslint-config
Yongmin Hong e5ad174bc0
npm/prettier-config: Add prettier-plugin-packagejson
Summary:
External version of D777. Also:

- Run prettier fix
- Update node to `v20.18.0`
- Update pnpm to `v9.12.0`

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

Test Plan: `pnpm install`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D779
2024-10-06 14:42:31 +09:00
..
types npm(eslint-config): move peerDep to dep 2024-06-27 20:12:15 +09:00
CHANGELOG.md npm/eslint-config: Bump to version 0.0.12 2024-09-27 12:11:01 +09:00
eslint.config.js CI: add eslint 2024-06-16 15:50:44 +09:00
package.json npm/prettier-config: Add prettier-plugin-packagejson 2024-10-06 14:42:31 +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,
];