Yongmin Hong
d4fd2acae2
Summary: - eslint-config: - `@eslint/js` to `v9.17.0` - `eslint` to `v9.17.0` - `globals` to v15.14.0` - prettier-config: - `prettier` to `v3.4.2` External edition of D863. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: Release the `git tag`. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D864 |
||
---|---|---|
.. | ||
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,
];