Yongmin Hong
4a9482cd04
Summary: eslint 9.6.0, and add changelog. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: Tag `eslint-config@v0.0.6` and push it. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Tags: #npm Differential Revision: https://issuetracker.revi.xyz/D494 |
||
---|---|---|
.. | ||
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,
];