@slashnephy/eslint-config

3.0.2 • Public • Published

eslint-config

Check npm

Install

$ yarn add @slashnephy/eslint-config

Usage (for Flat Configs)

eslint.config.js or eslint.config.mjs

import { defineConfig } from 'eslint/config'
import config from '@slashnephy/eslint-config'

export default defineConfig([
  ...config,
  {
    languageOptions: {
      parserOptions: {
        tsconfigRootDir: import.meta.dirname,
      },
    },
  },
  {
    // your custom config
  },
])

Readme

Keywords

Package Sidebar

Install

npm i @slashnephy/eslint-config

Weekly Downloads

3,110

Version

3.0.2

License

MIT

Unpacked Size

64.8 kB

Total Files

37

Last publish

Collaborators

  • slashnephy