Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.04 KB

Style Guide

Overview

This repository contains the TEAM23 configuration for linting and styling rules. It includes configurations for ESLint (JavaScript, TypeScript, Vue.js and Angular). These configurations help maintain code quality and consistency across TEAM23's projects.

Checkout the independent README.md files for more information on how to install and use.

Debug eslint configurations

config-inspector

Use the official config-inspector to inspect and understand the flat config.

bun build ./src/index.ts --target=node --outfile eslint.config.js
npx @eslint/config-inspector

You may need to install bun:

npm install --global bun

Use --print-config

You can additionally use the --print-config CLI option to view the final configuration that will be used for a file. Note that only configuration options applied to this file will be outputted.

You may want to use a bundler like bun to compile and bundle all files:

bun --bun eslint -c index.ts --print-config test.js > out.json