🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more
Socket
Book a DemoInstallSign in
Socket

@smg-automotive/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
329
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smg-automotive/eslint-config

A boilerplate package setup

latest
Source
npmnpm
Version
5.2.4
Version published
Weekly downloads
714
122.43%
Maintainers
1
Weekly downloads
 
Created
Source

SMG-Automotive ESLint Config

Usage

npm install @smg-automotive/eslint-config

Add a lint script to package.json:

  "lint": "eslint ."

Add a format script to package.json to be able to use auto fix:

  "format": "npm run lint -- --fix",

ESLint configuration

Create eslint.config.mjs in the root of the project:

import nextConfig from '@smg-automotive/eslint-config/next';

export default [
  ...nextConfig, 
  {
    // overwrite or add rules here
  }
];
  • For plain TypeScript project, use the default one: "@smg-automotive/eslint-config/default"
  • For React project, use "@smg-automotive/eslint-config/react"
  • For Next.js project, use "@smg-automotive/eslint-config/next"

EditorConfig configuration

Create/Update your .editorconfig by this content.

Prettier configuration

Create .prettierrc.mjs in the root of the project:

import prettierConfig from '@smg-automotive/eslint-config/prettier';

export default prettierConfig;

FAQs

Package last updated on 05 Nov 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