Socket
Book a DemoInstallSign in
Socket

@chadly/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chadly/eslint-config

My ESLint config for the way I like to code

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Chad's ESLint Configuration

My configuration for the way I like to code.

Usage

You can install this package and all of its peer dependencies with install-peerdeps:

npx install-peerdeps --dev @chadly/eslint-config

You can then create a .eslintrc.js file with content similar to the following:

// see https://www.npmjs.com/package/@rushstack/eslint-patch
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
  extends: ['@chadly'],
  parserOptions: {
    project: 'tsconfig.json',
  },
};

Editor Integration

You should be able to use your favorite editor's (*cough* VS Code) ESLint to easily format your code on save or with the Format command.

Keywords

eslint

FAQs

Package last updated on 26 Apr 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