sandbox/npm/eslint-config
Yongmin Hong bfab2ea75c
CI(npm): pin npm package version
Summary:
Ref T176.

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

Test Plan: `npm ci`

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Maniphest Tasks: T176

Differential Revision: https://issuetracker.revi.xyz/D393
2024-06-21 16:15:24 +09:00
..
eslint.config.js CI: add eslint 2024-06-16 15:50:44 +09:00
package.json CI(npm): pin npm package version 2024-06-21 16:15:24 +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,
];