This package provides ElementX's eslint config as an extensible shared config ✨
Install the library using:
npm i -D eslint @elementx-ai/eslint-configCreate 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"
}
}
];