1. @jsdevtools/eslint-config
Opinionated JSDevTools ESLint config for JavaScript, TypeScript, and JSX
@jsdevtools/eslint-config
Package: @jsdevtools/eslint-config
Created by: JS-DevTools
Last modified: Fri, 07 Apr 2023 20:12:23 GMT
Version: 1.1.4
License: MIT
Downloads: 4,047
Repository: https://github.com/JS-DevTools/eslint-config

Install

npm install @jsdevtools/eslint-config
yarn add @jsdevtools/eslint-config

ESLint Config

Opinionated JSDevTools ESLint config for JavaScript, TypeScript, and JSX

Cross-Platform Compatibility
Build Status

Coverage Status
Dependencies

npm
License
Buy us a tree

This is a shareable config for ESLint that's used for JSDevTools projects. It's highly opinionated and tailored to the types of projects we build, so it's probably not relevant to you. But nonetheless, it could be a good starting point for creating your own custom shareable config.

This config uses ESLint's overrides feature to apply different rulesets to different files based on glob patterns. It currently includes rulesets for JavaScript, TypeScript, and JSX files, as well more relaxed rulesets for test files in any of those languages.

Installation

Run the following npm command to install ESLint and our ESLint config as dev-dependencies of your project:

 npm install eslint @jsdevtools/eslint-config --save-dev

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about
Shareable Configs on the official ESLint website.

To use our ESLint config in your project, create an .eslintrc.yml file with the following contents:

.eslintrc.yml

 root: true
extends: "@jsdevtools"

rules:
  # You can override any rules here

License

Our ESLint config is 100% free and open-source, under the MIT license. Use it however you want.

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

GitHub
NPM
Coveralls
Travis CI
SauceLabs

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code