Yongmin Hong
959705258e
Summary: eslint-config-prettier should have been peerDependency not devDependency. Correct them by moving it. (Also do some yml cleanups.) 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/D342 |
||
---|---|---|
.. | ||
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,
];