Yongmin Hong
5cf734baf2
Summary: External version of D758. 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/D759 |
||
---|---|---|
.. | ||
types | ||
CHANGELOG.md | ||
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,
];