Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-nwronski-rules

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-nwronski-rules

ESLint rule configuration for JavaScript projects

  • 2.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-nwronski-rules

This repo contains the linting rules for my projects that use ESLint with TypeScript.

Installation

Install ESLint and TSLint (for now) for your project.

npm i -D eslint tslint

Install the eslint-config-nwronski-rules module.

npm i -D eslint-config-nwronski-rules

Create a .eslintrc.json file in the root folder of your project and add the following:

{
  "extends": "nwronski-rules",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

Usage

Add a script to the scripts section of your package.json, making sure to set the correct pattern for your source files (the example uses src/**/*.ts):

{
  "scripts": {
    "lint": "eslint --fix \"./src/**.ts\""
  }
}

Keywords

FAQs

Package last updated on 26 Apr 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc