Skip to content

elementx-ai/eslint-config

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ElementX's Eslint Config

This package provides ElementX's eslint config as an extensible shared config ✨

Install and Setup

Install the library using:

npm i -D eslint @elementx-ai/eslint-config

Usage

Create a eslint.config.js file in the root of the repo you are working on and import the config you wish to use

e.g. using the ts linting rules (additional rules can be added to the array)

// eslint.config.js
import ts from "@elementx-ai/eslint-config/configs/ts.js";

export default [
    ...ts,
    // anything from here will override ts
    {
        rules: {
            "no-unused-vars": "warn"
        }
    }
];

About

👮 ElementX's ESLint config

Resources

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%