Skip to content

Evaneos/front-config

Repository files navigation

@evaneos/front-config

@evaneos/front-config is the main resource for shared js/ts/tsx linting and config across Evaneos apps.

Install

npm install @evaneos/front-config@latest

Usage

Eslint flat config

In your eslint.config.js file, add:

const evaneosConfig = require("@evaneos/front-config/linting/eslint.config.js")
module.export = [
  ...evaneosConfig
  ]

TSConfig

In your tsconfig.json file, add:

{
  "extends": "@evaneos/front-config/config/tsconfig.json"
}

Prettier

In your .prettierrc file add:

module.exports = {
  ...require("@evaneos/front-config/linting/prettier-config.js"),
};