🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@viamrobotics/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@viamrobotics/eslint-config

ESLint configuration for projects at Viam.

latest
Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
1.3K
-12.21%
Maintainers
7
Weekly downloads
 
Created
Source

Viam's ESLint Config

This module contains Viam's shared ESLint configurations for ESLint v9.

Base config

Extend the config in eslint.config.js.

[!TIP] See the typescript-eslint docs on type-aware linting to learn about how to configure languageOptions. Using projectService: true is recommended for new projects, but older projects may continue to use project: './tsconfig.json' for performance or compatibility reasons.

pnpm add --save-dev eslint @viamrobotics/eslint-config
// eslint.config.js
import { baseConfig, createConfig } from '@viamrobotics/eslint-config';

export default createConfig(baseConfig, {
  languageOptions: {
    parserOptions: {
      projectService: true,
      tsconfigRootDir: import.meta.dirname,
    },
  },
});

Svelte config

See @viamrobotics/eslint-config-svelte

Keywords

eslint

FAQs

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