mirror of
https://github.com/smyalygames/flightsim-on-linux.git
synced 2025-12-27 06:48:50 +01:00
ci: add eslint with prettier, with ts and mdx support
This commit is contained in:
@@ -1,3 +1,29 @@
|
||||
{
|
||||
"extends": "next/core-web-vitals"
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"extends": [
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"next/core-web-vitals",
|
||||
"plugin:mdx/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaFeatures": {
|
||||
"jsx": true
|
||||
},
|
||||
"sourceType": "module",
|
||||
"project": "tsconfig.json"
|
||||
},
|
||||
"settings": {
|
||||
"mdx/code-blocks": true
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.mdx"],
|
||||
"extends": "plugin:mdx/recommended"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user