Skip to content

Commit 24d78aa

Browse files
feat: improve spicetify apis usage & repo chore (#120)
* feat: improve spicetify apis usage & repo chore * Update .eslintrc.js * remove unnecessary wildcards * Update .eslintrc.js
1 parent b79e4c9 commit 24d78aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7140
-11750
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es2022: true,
6+
},
7+
parser: "@typescript-eslint/parser",
8+
parserOptions: {
9+
project: ["tsconfig.json"],
10+
sourceType: "module",
11+
},
12+
files: ["./Extensions/full-screen/**/*"],
13+
plugins: ["react", "@typescript-eslint"],
14+
settings: {
15+
react: {
16+
version: "17.0.2",
17+
},
18+
},
19+
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
20+
rules: {
21+
"@typescript-eslint/no-non-null-assertion": "warn",
22+
"@typescript-eslint/no-explicit-any": "warn",
23+
"@typescript-eslint/ban-ts-comment": [
24+
"warn",
25+
{
26+
"ts-expect-error": "allow-with-description",
27+
"ts-ignore": "allow-with-description",
28+
},
29+
],
30+
},
31+
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dist linguist-vendored

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
dist
3+
package-lock.json
4+
spicetify.d.ts
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{
2-
"tabWidth": 4,
3-
"printWidth": 100,
4-
"bracketSameLine": true
5-
}
1+
{
2+
"tabWidth": 4,
3+
"printWidth": 100,
4+
"bracketSameLine": true
5+
}

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"]
3+
}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.formatOnPaste": false, // required
4+
"editor.formatOnType": false, // required
5+
"editor.formatOnSave": true, // optional
6+
"editor.formatOnSaveMode": "file" // required to format on save
7+
}

Extensions/auto-skip/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

Extensions/auto-skip/.gitignore

Lines changed: 0 additions & 145 deletions
This file was deleted.

Extensions/auto-skip/dist/autoSkip.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)