1.0.1 • Published 5 months ago

@viamrobotics/eslint-config v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

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

1.0.1

5 months ago

1.0.0

5 months ago

0.8.0

7 months ago

0.7.1

7 months ago

0.7.0

8 months ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.1.0

2 years ago

0.2.1

2 years ago

0.1.2

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.3

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago