New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@viamrobotics/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
28
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.

1.0.0
Source
npm
Version published
Weekly downloads
522
-0.76%
Maintainers
0
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 11 Feb 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