Yongmin Hong
ab283848b8
Summary: Avoid updating local pkgs. Also add `prefer-dedupe=true` on `.npmrc`. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: `npm ci`. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D428 |
||
---|---|---|
.. | ||
eslint.config.js | ||
package.json | ||
README.md |
@revi/eslint-config
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,
];