0.1.4 • Published 2 months ago

@hakurouken/eslint-config v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@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
}