-
-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81c8290
commit 1d31291
Showing
16 changed files
with
4,802 additions
and
2,744 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,39 @@ | ||
// eslint-disable-next-line no-undef | ||
module.exports = { | ||
"ignorePatterns": ["node_modules", "dist"], | ||
"env": { | ||
"browser": true, | ||
"es2021": true, | ||
ignorePatterns: ["node_modules", "dist", ".eslintrc.js", "spicetify.d.ts"], | ||
env: { | ||
browser: true, | ||
es2022: true, | ||
}, | ||
"extends": [ | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"ecmaFeatures": { | ||
"jsx": true, | ||
}, | ||
"ecmaVersion": "latest", | ||
"sourceType": "module", | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
sourceType: "module", | ||
project: ["tsconfig.json"], | ||
}, | ||
"plugins": [ | ||
"react", | ||
"@typescript-eslint", | ||
], | ||
"rules": { | ||
"indent": [ | ||
"error", | ||
2, | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix", | ||
], | ||
"quotes": [ | ||
"error", | ||
"double", | ||
{ "allowTemplateLiterals": true }, | ||
], | ||
"semi": [ | ||
"error", | ||
"always", | ||
], | ||
"comma-dangle": [ | ||
"error", | ||
"always-multiline", | ||
], | ||
plugins: ["react", "@typescript-eslint"], | ||
rules: { | ||
indent: ["error", 2], | ||
"linebreak-style": ["error", "unix"], | ||
quotes: ["error", "double", { allowTemplateLiterals: true }], | ||
semi: ["error", "always"], | ||
"comma-dangle": ["error", "always-multiline"], | ||
"no-var": "error", | ||
"space-before-blocks": "error", | ||
"comma-spacing": [ | ||
"error", { "before": false, "after": true }, | ||
], | ||
"comma-spacing": ["error", { before: false, after: true }], | ||
"no-trailing-spaces": "error", | ||
"keyword-spacing": "error", | ||
"no-multiple-empty-lines": [ | ||
"error", { "max": 1 }, | ||
], | ||
"object-curly-spacing": [ | ||
"error", "always", | ||
], | ||
"key-spacing": [ | ||
"error", { "beforeColon": false, "afterColon": true }, | ||
], | ||
"no-multiple-empty-lines": ["error", { max: 1 }], | ||
"object-curly-spacing": ["error", "always"], | ||
"key-spacing": ["error", { beforeColon: false, afterColon: true }], | ||
}, | ||
"settings": { | ||
"react": { | ||
settings: { | ||
react: { | ||
// This is what Spotify uses | ||
"version": "17", | ||
version: "17.0.2", | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,52 @@ | ||
{ | ||
"name": "spicetify-marketplace", | ||
"version": "0.9.2", | ||
"homepage": "https://github.com/spicetify/spicetify-marketplace", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:spicetify/spicetify-marketplace.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/spicetify/spicetify-marketplace/issues" | ||
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "spicetify-creator", | ||
"build:local": "spicetify-creator --out=dist --minify", | ||
"build:prod": "pnpm build:local && pnpm copy:docs", | ||
"copy:docs": "copyfiles README.md dist/", | ||
"lint": "eslint --fix src", | ||
"lint:ci": "eslint src", | ||
"type-check": "tsc --noEmit", | ||
"watch": "spicetify-creator --watch", | ||
"prepare": "husky install" | ||
}, | ||
"engines": { | ||
"yarn": "please-use-pnpm", | ||
"npm": "please-use-pnpm", | ||
"pnpm": ">=8", | ||
"node": ">=20" | ||
}, | ||
"devDependencies": { | ||
"@types/chroma-js": "^2.4.2", | ||
"@types/react": "^17.0.65", | ||
"@types/react-dom": "^17.0.20", | ||
"@types/semver": "^7.5.4", | ||
"@typescript-eslint/eslint-plugin": "^6.9.1", | ||
"@typescript-eslint/parser": "^6.9.1", | ||
"chroma-js": "^2.4.2", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^8.53.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"husky": "^8.0.3", | ||
"i18next": "^23.6.0", | ||
"i18next-browser-languagedetector": "^7.1.0", | ||
"prismjs": "^1.29.0", | ||
"react-dropdown": "^1.11.0", | ||
"react-i18next": "^13.3.1", | ||
"react-simple-code-editor": "^0.13.1", | ||
"semver": "^7.5.4", | ||
"spcr-whats-new": "^1.0.1", | ||
"spicetify-creator": "^1.0.16", | ||
"typescript": "^5.2.2", | ||
"util": "^0.12.5" | ||
}, | ||
"private": true | ||
"name": "spicetify-marketplace", | ||
"version": "0.9.2", | ||
"homepage": "https://github.com/spicetify/spicetify-marketplace", | ||
"repository": "github:spicetify/spicetify-marketplace", | ||
"bugs": { | ||
"url": "https://github.com/spicetify/spicetify-marketplace/issues" | ||
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "spicetify-creator", | ||
"build:local": "spicetify-creator --out=dist --minify", | ||
"build:prod": "pnpm build:local && pnpm copy:docs", | ||
"copy:docs": "copyfiles README.md dist/", | ||
"lint": "eslint --fix src", | ||
"lint:ci": "eslint src", | ||
"type-check": "tsc --noEmit", | ||
"watch": "spicetify-creator --watch", | ||
"prepare": "husky install", | ||
"update-types": "curl -s -o src/types/spicetify.d.ts https://raw.githubusercontent.com/spicetify/spicetify-cli/master/globals.d.ts" | ||
}, | ||
"engines": { | ||
"yarn": "please-use-pnpm", | ||
"npm": "please-use-pnpm", | ||
"pnpm": ">=8", | ||
"node": ">=20" | ||
}, | ||
"devDependencies": { | ||
"@types/chroma-js": "^2.4.2", | ||
"@types/react": "17.0.2", | ||
"@types/react-dom": "17.0.2", | ||
"@types/semver": "^7.5.4", | ||
"@typescript-eslint/eslint-plugin": "^6.9.1", | ||
"@typescript-eslint/parser": "^6.9.1", | ||
"chroma-js": "^2.4.2", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^8.53.0", | ||
"eslint-plugin-react": "^7.33.2", | ||
"husky": "^8.0.3", | ||
"i18next": "^23.6.0", | ||
"i18next-browser-languagedetector": "^7.1.0", | ||
"prismjs": "^1.29.0", | ||
"react-dropdown": "^1.11.0", | ||
"react-i18next": "^13.3.1", | ||
"react-simple-code-editor": "^0.13.1", | ||
"semver": "^7.5.4", | ||
"spicetify-creator": "^1.0.16", | ||
"typescript": "^5.2.2", | ||
"util": "^0.12.5" | ||
}, | ||
"private": true | ||
} |
Oops, something went wrong.