refactor: clean up + add plugin tailwindcss

This commit is contained in:
Walid 2023-07-26 03:24:16 +01:00
parent 2a56dedaec
commit 701c3db45d
Signed by: Walidoux
GPG Key ID: CCF21881FE8BEBAF
5 changed files with 1264 additions and 790 deletions

View File

@ -1,9 +0,0 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"files.exclude": {
"node_modules": true,
"yarn.lock": true
}
}

21
LICENSE
View File

@ -1,21 +0,0 @@
MIT License
Copyright (c) 2022 Walid Korchi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,4 +1,5 @@
module.exports = {
plugins: ['prettier-plugin-tailwindcss'],
trailingComma: 'none',
jsxSingleQuote: true,
semi: false,

View File

@ -1,6 +1,6 @@
{
"name": "@walidoux/prettier-config",
"version": "1.0.3",
"version": "1.0.4",
"description": "Walidoux's Prettier config.",
"author": "Walid Korchi",
"license": "MIT",
@ -19,37 +19,20 @@
"files": [
"index.js"
],
"main": "index.js",
"main": "./index.js",
"prettier": "./index.js",
"husky": {
"hooks": {
"pre-commit": "nano-staged"
}
},
"nano-staged": {
"**/*.js": [
"eslint --fix",
"prettier --ignore-path .eslintignore --write"
],
"**/*.{json,md,yml}": [
"prettier --ignore-path .eslintignore --write"
]
},
"scripts": {
"lint:eslint": "eslint '**/*.js' --fix",
"lint:prettier": "prettier '**/*.{js,json,md,yml}' --ignore-path .eslintignore --write --loglevel silent",
"lint-all": "npm-run-all lint:*",
"release": "npm login && npm publish"
"release": "np"
},
"devDependencies": {
"eslint": "^8.38.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "8.0.3",
"nano-staged": "^0.8.0",
"np": "^7.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7"
"eslint-plugin-prettier": "^5.0.0",
"prettier-plugin-tailwindcss": "0.4.1",
"np": "^8.0.4",
"prettier": "^2.8.8"
},
"peerDependencies": {
"prettier": ">=2.8.7"

1990
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff