@hakurouken/eslint-config
v0.1.4
Published
Hakurouken's eslint-config.
Downloads
3
Readme
@hakurouken/eslint-config
@hakurouken/eslint-config
uses ESlint Flat Config System.
Usage
With type: module
in package.json
(esm):
// eslint.config.js
import buildEslintConfig from '@hakurouken/eslint-config';
export default buildEslintConfig();
Or with cjs:
// eslint.config.js
const { default: buildEslintConfig } = require('@hakurouken/eslint-config');
module.exports = buildEslintConfig();
For Vscode
Install the VsCode Eslint extension, an make sure the ESLint flat config support is on:
{
"eslint.experimental.useFlatConfig": true
}