From 98aae67db29ab926935a55c3f68633f921ef82ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Tue, 16 Jan 2024 14:53:31 +0100 Subject: [PATCH] chore: remove prettier + fix config missing key --- .gitmodules | 0 .prettierrc | 12 ------------ package.json | 2 -- stylelint.config.js | 2 +- vidos-config-empty.json | 1 + vidos.config.sample.ts | 3 ++- yarn.lock | 23 ----------------------- 7 files changed, 4 insertions(+), 39 deletions(-) delete mode 100644 .gitmodules delete mode 100644 .prettierrc diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29bb..000000000 diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index b14b6a750..000000000 --- a/.prettierrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "semi": false, - "singleQuote": true, - "overrides": [ - { - "files": ".*rc", - "options": { - "parser": "json" - } - } - ] -} diff --git a/package.json b/package.json index cce59e044..8b192ea66 100644 --- a/package.json +++ b/package.json @@ -99,12 +99,10 @@ "patch-package": "^7.0.0", "postcss": "^8.4.24", "postinstall-postinstall": "^2.1.0", - "prettier": "^2.8.8", "reg-suit": "^0.12.1", "sass": "^1.63.4", "sass-loader": "^13.3.2", "stylelint": "^13.13.1", - "stylelint-config-prettier": "^9.0.5", "stylelint-config-standard": "^20.0.0", "stylelint-scss": "^4.7.0", "tailwindcss": "^3.3.2", diff --git a/stylelint.config.js b/stylelint.config.js index b6c5c1153..909a6d8ab 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -1,5 +1,5 @@ module.exports = { - extends: ['stylelint-config-standard', 'stylelint-config-prettier'], + extends: ['stylelint-config-standard'], // add your custom config here // https://stylelint.io/user-guide/configuration plugins: ['stylelint-scss'], diff --git a/vidos-config-empty.json b/vidos-config-empty.json index 315eca691..a0426c8dc 100644 --- a/vidos-config-empty.json +++ b/vidos-config-empty.json @@ -14,6 +14,7 @@ "MAPILLARY_ACCESS_TOKEN": "MLY|5609419529131330|36d86a5578fecba521c1ffe033bda2fc", "COOKIES_CONSENT": null, "COOKIES_LINK": null, + "GOOGLE_SITE_VERIFICATION": null, "GOOGLE_TAG_MANAGER_ID": null, "MATOMO_URL": null, "MATOMO_SITEID": null, diff --git a/vidos.config.sample.ts b/vidos.config.sample.ts index c7080ad22..9b60ffda6 100644 --- a/vidos.config.sample.ts +++ b/vidos.config.sample.ts @@ -1,4 +1,4 @@ -import { VidosConfig } from '~/utils/types-config' +import type { VidosConfig } from '~/utils/types-config' const configDefault = { API_SEARCH: 'https://search-dev.teritorio.xyz/search', @@ -11,6 +11,7 @@ const configDefault = { MAPILLARY_ACCESS_TOKEN: null, COOKIES_CONSENT: null, COOKIES_LINK: null, + GOOGLE_SITE_VERIFICATION: null, GOOGLE_TAG_MANAGER_ID: null, MATOMO_URL: null, MATOMO_SITEID: null, diff --git a/yarn.lock b/yarn.lock index 66dd316b4..461d93ab4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3097,12 +3097,10 @@ __metadata: pinia-shared-state: ^0.4.2 postcss: ^8.4.24 postinstall-postinstall: ^2.1.0 - prettier: ^2.8.8 reg-suit: ^0.12.1 sass: ^1.63.4 sass-loader: ^13.3.2 stylelint: ^13.13.1 - stylelint-config-prettier: ^9.0.5 stylelint-config-standard: ^20.0.0 stylelint-scss: ^4.7.0 tailwindcss: ^3.3.2 @@ -14297,15 +14295,6 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.8.8": - version: 2.8.8 - resolution: "prettier@npm:2.8.8" - bin: - prettier: bin-prettier.js - checksum: a2afc2fea5326d1e3667e385652f4f82ebb3467a79fd893ad237e683a65ad865ecf108658cfc296cc1224ce5862340417a4eddea2174917d3b4bc732e3e83501 - languageName: node - linkType: hard - "pretty-bytes@npm:^5.6.0": version: 5.6.0 resolution: "pretty-bytes@npm:5.6.0" @@ -16133,18 +16122,6 @@ __metadata: languageName: node linkType: hard -"stylelint-config-prettier@npm:^9.0.5": - version: 9.0.5 - resolution: "stylelint-config-prettier@npm:9.0.5" - peerDependencies: - stylelint: ">= 11.x < 15" - bin: - stylelint-config-prettier: bin/check.js - stylelint-config-prettier-check: bin/check.js - checksum: 5a4bb6f994534ce3bce3cbe9657ade18afb084c372a93e32a24f7c04e73d4fe2dc313aca1ae0515039b49f2fd8d083a85ce109210bf3d633ffc4cd7c6e1e069a - languageName: node - linkType: hard - "stylelint-config-recommended@npm:^3.0.0": version: 3.0.0 resolution: "stylelint-config-recommended@npm:3.0.0"