You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

eslint-config-ixn-next

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-ixn-next

Ixion Labs' ESLint config for NextJS projects

1.5.3
latest
Source
npm
Version published
Weekly downloads
3
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-ixn-next

Ixion Labs' ESLint config for NextJS projects

Usage

NextJS

npm install --save-dev eslint-config-ixn-next
{
  "parserOptions": {
    "project": "./tsconfig.json"
  },
  "extends": "ixn-next"
}

If NextJS is not the root of the project, you can specify the root directory of the NextJS project in the settings.next.rootDir array.

{
  "settings": {
    "next": {
      "rootDir": ["./packages/next"]
    }
  }
}

If you are using this config for a library with no pages repository, you may receive a warning about no Pages directory being found. In that case, set the following rule to off:

{
  "rules": {
    "@next/next/no-html-link-for-pages": "off"
  }
}

FAQs

Package last updated on 13 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts