Socket
Book a DemoInstallSign in
Socket

@cyntler/eslint-config

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

@cyntler/eslint-config

My personal configuration for ESLint.

0.0.4
latest
Source
npmnpm
Version published
Weekly downloads
10
400%
Maintainers
1
Weekly downloads
 
Created
Source

npm-version npm-download

@cyntler/eslint-config

My personal configuration for ESLint.

Installing

To install this configuration, run the command below.

npm i -D eslint @rushstack/eslint-patch @cyntler/eslint-config # npm
yarn add -D eslint @rushstack/eslint-patch @cyntler/eslint-config # Yarn

How to use?

For this configuration, the name of the ESLint configuration file should be: .eslintrc.js and saved as a .js file to be able to use require keyword.

.eslintrc.js

require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
  extends: "@cyntler/eslint-config",
  parserOptions: { tsconfigRootDir: __dirname },
};

You should also add a .eslintignore file to list all paths and files that should be avoided by ESLint.
It's a good idea to list the eslintrc.js file here, if ESLint reports any warnings or errors in this file.

.eslintignore

.eslintrc.js

Keywords

config

FAQs

Package last updated on 27 Mar 2024

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.