Skip to content

Commit

Permalink
Merge pull request #23 from SunsetTechuila/main
Browse files Browse the repository at this point in the history
chore: repo clean up
  • Loading branch information
Pithaya committed Nov 23, 2023
2 parents c9c5a71 + 9f2c8d1 commit 28b06ac
Show file tree
Hide file tree
Showing 51 changed files with 9,980 additions and 42,491 deletions.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
**/*.d.ts
spicetify.d.ts
dist
node_modules
13 changes: 8 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"env": {
"browser": true,
"es2021": true
"es2022": true
},
"extends": [
"plugin:react/recommended",
"standard-with-typescript",
"prettier"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": ["tsconfig.json"]
"project": ["tsconfig.json"],
"sourceType": "module"
},
"plugins": ["react"],
"settings": {
"react": {
"version": "17.0.2"
}
},
"rules": {
"@typescript-eslint/strict-boolean-expressions": "false"
}
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"trailingComma": "es5",
"trailingComma": "all",
"tabWidth": 4,
"semi": true,
"singleQuote": true
Expand Down
3,179 changes: 0 additions & 3,179 deletions custom-apps/better-local-files/package-lock.json

This file was deleted.

5 changes: 0 additions & 5 deletions custom-apps/better-local-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
"license": "MIT",
"devDependencies": {
"@types/pixelmatch": "^5.2.4",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"spicetify-creator": "^1.0.13"
},
"dependencies": {
"lucide-react": "^0.115.0",
"pixelmatch": "^5.3.0",
"react-markdown": "^8.0.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react';

export function useCurrentPlayerTrackUri() {
const [playingTrackUri, setPlayingTrackUri] = useState(
Spicetify.Player?.data?.track?.uri ?? ''
Spicetify.Player?.data?.item?.uri ?? ''
);

useEffect(() => {
Expand Down
Loading

0 comments on commit 28b06ac

Please sign in to comment.