From 4a4ea8bd46076b6806ebc36800eae5363fbf61c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Fri, 13 Oct 2023 17:40:06 +0200 Subject: [PATCH] Remove useless prettier usage --- .prettierignore | 96 ------------------------------------------------- .prettierrc | 4 --- package.json | 7 ++-- 3 files changed, 3 insertions(+), 104 deletions(-) delete mode 100644 .prettierignore delete mode 100644 .prettierrc diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 1ec6ab6..0000000 --- a/.prettierignore +++ /dev/null @@ -1,96 +0,0 @@ -### -# Place your Prettier ignore content here - -### -# .gitignore content is duplicated here due to https://github.com/prettier/prettier/issues/8506 - -# Created by .ignore support plugin (hsz.mobi) -### Node template -# Logs -/logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# next.js build output -.next - -# nuxt.js build output -.nuxt - -# Nuxt generate -dist - -# vuepress build output -.vuepress/dist - -# Serverless directories -.serverless - -# IDE / Editor -.idea - -# Service worker -sw.* - -# macOS -.DS_Store - -# Vim swap files -*.swp diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index b2095be..0000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "semi": false, - "singleQuote": true -} diff --git a/package.json b/package.json index 3a2e563..fcec406 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,9 @@ "postinstall": "nuxt prepare", "lint:js": "eslint --ext \".js,.ts,.vue\" --ignore-path .gitignore .", "lint:style": "node ./node_modules/.bin/stylelint --config './.stylelintrc.json' --max-warnings 0 \"**/*.{css,scss,sass,html,vue}\" --ignore-path .gitignore", - "lint:prettier": "node ./node_modules/.bin/prettier --config .prettierrc --check .", - "lint": "yarn run lint:js && yarn run lint:style && yarn run lint:prettier", - "lint:fix": "node ./node_modules/.bin/prettier --config .prettierrc --write --list-different . && yarn run lint:js --fix && yarn run lint:style --fix", - "validate": "npm-run-all --parallel lint:js lint:style lint:prettier", + "lint": "yarn run lint:js && yarn run lint:style", + "lint:fix": "yarn run lint:js --fix && yarn run lint:style --fix", + "validate": "npm-run-all --parallel lint:js lint:style", "prepare": "husky install" }, "devDependencies": {