mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
- Add "eslint:recommended" and "plugin:prettier/recommended" to the "extends" array to include recommended rules and prettier plugin. - Add "plugin:@typescript-eslint/recommended" to the "extends" array to include recommended rules for TypeScript. - Add "@typescript-eslint" and "prettier" to the "plugins" array to enable TypeScript and prettier linting. - Update "parserOptions" to use the latest ECMAScript version and specify the project path. - Add "sort-imports" rule to sort imports in a specific order and ignore case. - Add "import/no-unresolved" rule to enforce resolving of imports. - Add "import/order" rule to enforce a specific order for imports. - Update "settings" to specify the TypeScript project path for import resolver. chore(prettier): update prettier configuration to include additional plugins - Add "prettier-plugin-organize-imports" to the "plugins" array to enable organizing imports. - Update "overrides" to include "*.html" files for prettier formatting. feat(package.json): add "swiper" dependency - Add "swiper" dependency with version "^11.0.3" to the "dependencies" section.
19 lines
355 B
JSON
19 lines
355 B
JSON
{
|
|
"useTabs": false,
|
|
"tabWidth": 2,
|
|
"printWidth": 88,
|
|
"singleQuote": true,
|
|
"trailingComma": "none",
|
|
"bracketSpacing": true,
|
|
"semi": false,
|
|
"plugins": ["prettier-plugin-go-template", "prettier-plugin-organize-imports"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.html"],
|
|
"options": {
|
|
"parser": "go-template"
|
|
}
|
|
}
|
|
]
|
|
}
|