Skip to content

Guide

Install

shell
npm i eslint-plugin-ntnyq -D
shell
yarn add eslint-plugin-ntnyq -D
shell
pnpm add eslint-plugin-ntnyq -D

Basic Usage

Highly recommended to use eslint.config.mjs as config file.

eslint.config.mjs
ts
// @ts-check

import {  } from 'eslint/config'
import  from 'eslint-plugin-ntnyq'

export default ([
  // other configs
  {
    : 'ntnyq',
    : {
      : ,
    },
    : {
      'ntnyq/no-duplicate-exports': 'error',
    },
  },
])