You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eslint-config-tjw-base

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-tjw-base

The Jared Wilcurt's base linting rules

4.3.0
latest
Source
npmnpm
Version published
Weekly downloads
892
112.38%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-tjw-base

The Jared Wilcurt's base ESLint 9+ rules for ESM projects.

For CJS and ESLint < v9, use v2.x releases.

Using this

  • If you don't have a package.json do npm init -y first
  • Run npm pkg set type=module
  • Run npm install --save-dev eslint eslint-config-tjw-base @stylistic/eslint-plugin
  • In your eslint.config.js add tjwBase to your config like so:
    import js from '@eslint/js';
    import tjwBase from 'eslint-config-tjw-base';
    
    export default [
      js.configs.recommended,
      tjwBase.configs.recommended,
      {
        // project specific settings
      }
    ];
    
  • Run npm pkg set scripts.lint="eslint *.js src"
    • Change *.js src to your files and folders you want to be linted
  • Run npm run lint

See also:

  • eslint-config-tjw-base
  • eslint-config-tjw-import
  • eslint-config-tjw-jest
  • eslint-config-tjw-jsdoc
  • eslint-config-tjw-vue

Keywords

tjw

FAQs

Package last updated on 19 Jun 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