2025-08-14 21:48:38 +01:00
|
|
|
import eslint from '@eslint/js'
|
|
|
|
|
import prettierEslint from 'eslint-plugin-prettier/recommended'
|
|
|
|
|
import tseslint from 'typescript-eslint'
|
|
|
|
|
|
|
|
|
|
export default tseslint.config(
|
feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files as far as possible (#4193)
* feat: consistently format all HTML, XML, JSON, CSS, JS, TS, SQL, TOML, YAML, and Markdown files
* chore: deal with VS Code not being able to parse valid editorconfig syntax
Sometimes I'm surprised that computers even work.
* chore: get rid of IntelliJ IDE config files that should not be there
These were already added to the `.gitignore` a long time ago, and now
are being ignored by Prettier.
* fix: rename `tooling-config` `format` script to `fix` for it to run with Turbo
2025-08-16 19:40:31 +02:00
|
|
|
eslint.configs.recommended,
|
|
|
|
|
tseslint.configs.recommendedTypeChecked,
|
|
|
|
|
prettierEslint,
|
|
|
|
|
...common,
|
|
|
|
|
{
|
|
|
|
|
languageOptions: {
|
|
|
|
|
parserOptions: {
|
|
|
|
|
warnOnUnsupportedTypeScriptVersion: false,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
ignores: ['node_modules/', 'dist/', 'build/'],
|
|
|
|
|
},
|
2025-08-14 21:48:38 +01:00
|
|
|
)
|