Skip to content

About

ESLint shareable config for Logux

Resources

Stars

37 stars

Watchers

1 watching

Forks

Repository files navigation

Logux ESLint Config

Shareable code style and best practice for Logux projects.


  Logux ESLint Config is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups.


Install

Pure JavaScript or TypeScript:

pnpm add --save-dev @logux/eslint-config eslint

Svelte project:

pnpm add --save-dev @logux/eslint-config eslint-plugin-svelte svelte eslint

Usage

Create eslint.config.js.

For JavaScript:

import loguxConfig from '@logux/eslint-config'

/** @type {import('eslint').Linter.Config[]} */
export default [...loguxConfig]

For TypeScript project:

import loguxTsConfig from '@logux/eslint-config/ts'

/** @type {import('eslint').Linter.Config[]} */
export default [...loguxTsConfig]

For Svelte project:

import loguxSvelteConfig from '@logux/eslint-config/svelte'

/** @type {import('eslint').Linter.Config[]} */
export default [...loguxSvelteConfig]

This project utilizes ESLint with a flat configuration. You may need to enable its support in your workspace:

  • VS Code: enable eslint.experimental.useFlatConfig.

About

ESLint shareable config for Logux

Resources

Stars

37 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages