Skip to content

Commit

Permalink
update prettier settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ezynda3 committed Mar 7, 2024
1 parent 3df6dd4 commit d52b781
Show file tree
Hide file tree
Showing 103 changed files with 3,016 additions and 3,015 deletions.
58 changes: 29 additions & 29 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
module.exports = {
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier'
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
}
]
};
root: true,
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:svelte/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
extraFileExtensions: ['.svelte'],
},
env: {
browser: true,
es2017: true,
node: true,
},
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
},
],
}
15 changes: 8 additions & 7 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"useTabs": false,
"singleQuote": true,
"semi": false,
"trailingComma": "all",
"printWidth": 100,
"plugins": ["prettier-plugin-svelte"],
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
}
22 changes: 11 additions & 11 deletions components.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "new-york",
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app.postcss",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils"
}
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "new-york",
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app.postcss",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils"
}
}
142 changes: 71 additions & 71 deletions drizzle/meta/0000_snapshot.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
{
"version": "5",
"dialect": "sqlite",
"id": "292cb595-d7c0-4e69-8a8b-9a599b7a69ca",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"diamonds": {
"name": "diamonds",
"columns": {
"id": {
"name": "id",
"type": "text(36)",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"network": {
"name": "network",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"address": {
"name": "address",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"name": {
"name": "name",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"visits": {
"name": "visits",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
"default": 0
},
"createdAt": {
"name": "createdAt",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "CURRENT_TIMESTAMP"
}
},
"indexes": {
"diamonds_id_unique": {
"name": "diamonds_id_unique",
"columns": ["id"],
"isUnique": true
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
}
"version": "5",
"dialect": "sqlite",
"id": "292cb595-d7c0-4e69-8a8b-9a599b7a69ca",
"prevId": "00000000-0000-0000-0000-000000000000",
"tables": {
"diamonds": {
"name": "diamonds",
"columns": {
"id": {
"name": "id",
"type": "text(36)",
"primaryKey": true,
"notNull": true,
"autoincrement": false
},
"network": {
"name": "network",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"address": {
"name": "address",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"name": {
"name": "name",
"type": "text",
"primaryKey": false,
"notNull": true,
"autoincrement": false
},
"visits": {
"name": "visits",
"type": "integer",
"primaryKey": false,
"notNull": true,
"autoincrement": false,
"default": 0
},
"createdAt": {
"name": "createdAt",
"type": "text",
"primaryKey": false,
"notNull": false,
"autoincrement": false,
"default": "CURRENT_TIMESTAMP"
}
},
"indexes": {
"diamonds_id_unique": {
"name": "diamonds_id_unique",
"columns": ["id"],
"isUnique": true
}
},
"foreignKeys": {},
"compositePrimaryKeys": {},
"uniqueConstraints": {}
}
},
"enums": {},
"_meta": {
"schemas": {},
"tables": {},
"columns": {}
}
}
22 changes: 11 additions & 11 deletions drizzle/meta/_journal.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "5",
"dialect": "sqlite",
"entries": [
{
"idx": 0,
"version": "5",
"when": 1706192961433,
"tag": "0000_lyrical_multiple_man",
"breakpoints": true
}
]
"version": "5",
"dialect": "sqlite",
"entries": [
{
"idx": 0,
"version": "5",
"when": 1706192961433,
"tag": "0000_lyrical_multiple_man",
"breakpoints": true
}
]
}
108 changes: 54 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"name": "louper-v3",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"autoprefixer": "^10.4.14",
"bun-types": "^1.0.7",
"drizzle-kit": "^0.20.13",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
"postcss": "^8.4.24",
"postcss-load-config": "^4.0.1",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^4.0.0",
"svelte-adapter-bun": "^0.5.0",
"svelte-check": "^3.4.3",
"tailwindcss": "^3.3.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.0.0",
"vite-plugin-node-polyfills": "^0.14.0"
},
"type": "module",
"dependencies": {
"@safe-global/safe-apps-sdk": "^8.1.0",
"@wagmi/connectors": "^4.1.10",
"@wagmi/core": "^2.6.1",
"@web3modal/wagmi": "4.0.0-alpha.3",
"bits-ui": "^0.9.8",
"clsx": "^2.0.0",
"cmdk-sv": "^0.0.4",
"drizzle-orm": "^0.29.3",
"lucide-svelte": "^0.276.0",
"radix-icons-svelte": "^1.2.1",
"svelte-french-toast": "^1.2.0",
"svelte-tags-input": "^5.0.0",
"tailwind-merge": "^1.14.0",
"tailwind-variants": "^0.1.14",
"viem": "^2.5.0"
}
"name": "louper-v3",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"autoprefixer": "^10.4.14",
"bun-types": "^1.0.7",
"drizzle-kit": "^0.20.13",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.30.0",
"postcss": "^8.4.24",
"postcss-load-config": "^4.0.1",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"svelte": "^4.0.0",
"svelte-adapter-bun": "^0.5.0",
"svelte-check": "^3.4.3",
"tailwindcss": "^3.3.2",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.0.0",
"vite-plugin-node-polyfills": "^0.14.0"
},
"type": "module",
"dependencies": {
"@safe-global/safe-apps-sdk": "^8.1.0",
"@wagmi/connectors": "^4.1.10",
"@wagmi/core": "^2.6.1",
"@web3modal/wagmi": "4.0.0-alpha.3",
"bits-ui": "^0.9.8",
"clsx": "^2.0.0",
"cmdk-sv": "^0.0.4",
"drizzle-orm": "^0.29.3",
"lucide-svelte": "^0.276.0",
"radix-icons-svelte": "^1.2.1",
"svelte-french-toast": "^1.2.0",
"svelte-tags-input": "^5.0.0",
"tailwind-merge": "^1.14.0",
"tailwind-variants": "^0.1.14",
"viem": "^2.5.0"
}
}
Loading

0 comments on commit d52b781

Please sign in to comment.