From ea21a659d41289776d415f125ef3a254bf2bca11 Mon Sep 17 00:00:00 2001 From: Dr Masroor Ehsan Date: Sun, 5 Jan 2025 12:49:36 +0600 Subject: [PATCH] duster --- composer.json | 3 ++- package.json | 7 ++++--- tlint.json | 6 ++++++ 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 tlint.json diff --git a/composer.json b/composer.json index fd17c2c..e5f43e3 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,8 @@ "nunomaduro/collision": "^8.1", "pestphp/pest": "^3.7", "pestphp/pest-plugin-laravel": "^3.0", - "pixinvent/materialize-laravel-bootstrap-jetstream": "^2.0" + "pixinvent/materialize-laravel-bootstrap-jetstream": "^2.0", + "tightenco/duster": "^3.1" }, "autoload": { "psr-4": { diff --git a/package.json b/package.json index c350eb2..1f83f46 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,13 @@ { - "name": "Materialize", - "version": "2.0.1", + "name": "radsparc", + "version": "0.0.1", "private": true, "type": "module", "license": "Commercial", "scripts": { "dev": "vite", - "build": "vite build" + "build": "vite build", + "lint": "npx prettier --write resources/ && ./vendor/bin/duster fix" }, "devDependencies": { "@babel/core": "7.23.7", diff --git a/tlint.json b/tlint.json new file mode 100644 index 0000000..11099b4 --- /dev/null +++ b/tlint.json @@ -0,0 +1,6 @@ +{ + "disabled": [ + "QualifiedNamesOnlyForClassName", + "RemoveLeadingSlashNamespaces" + ] +}