Socket
Book a DemoInstallSign in
Socket

eslint-config-ns-ts

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-ns-ts

eslint typescript config ready to be used in multiple projects

5.0.0
latest
Source
npmnpm
Version published
Weekly downloads
440
-26.79%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-ns-ts

npm version GitHub license

Lint your TypeScript projects with ease. eslint-config-ns-ts extends my existing JavaScript config eslint-config-ns.

Contents

Features

The config is built upon Airbnb's ESLint rules with additional rules and optimizations (see assumptions).

Installation

Install the package with

npm install eslint-config-ns-ts --save-dev

# or
yarn add eslint-config-ns-ts -D

eslint-config-ns-ts requires you to take care of it's peerDependencies. Install the correct version of each peerDependencies package, which are listed with the following command:

npm info "eslint-config-ns-ts@latest" peerDependencies

If using npm 5+, use this shortcut:

npx install-peerdeps --dev eslint-config-ns-ts

# or
yarn add eslint-config-ns-ts -D --peer

Usage

Now add eslint-config-ns-ts to either your package.json:

{
  "eslintConfig": {
    "extends": "eslint-config-ns-ts"
  }
}

to your .eslintrc:

{
  "extends": "eslint-config-ns-ts"
}

or .eslintrc.js:

module.exports = {
  extends: 'eslint-config-ns-ts',
}

Prettier Config

This is how you can use or extend the eslint-config-ns-ts prettier config in your app:

// prettier.config.js
module.exports = require('eslint-config-ns-ts/prettier.config')

Assumptions

This ESLint configuration comes with the same fundamental assumptions, as eslint-config-ns.

Even though I made some assumptions, you can easily overwrite, extend and unset rules and any other setting in your custom eslint config.

LICENCE

MIT

Maintainers


Stefan Natter

Keywords

eslint

FAQs

Package last updated on 07 Aug 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.