mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Move general-purpose lint rules from packages/webamp/.eslintrc to the root .eslintrc so they apply to all packages consistently. This includes: - Core JavaScript best practices (no-var, prefer-const, eqeqeq, etc.) - TypeScript-specific rules (@typescript-eslint/no-unused-vars with patterns) - Prettier integration Package-specific configs now only contain rules unique to their needs: - webamp: React, import, and react-hooks plugin rules - skin-database: Extends @typescript-eslint/recommended, disables rules that conflict with existing code style - webamp-modern: Unchanged (has root: true for isolation) Also fixes lint errors in skin-database: - Consolidate duplicate imports in App.js and Feedback.js - Add radix parameter to parseInt - Prefix unused function parameters with underscore - Convert var to let/const - Fix type import for Shooter
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"tasks": {
|
|
"ani-cursor#build": {
|
|
"outputs": ["built/**", "dist/**"]
|
|
},
|
|
"winamp-eqf#build": {
|
|
"outputs": ["built/**", "dist/**"]
|
|
},
|
|
"webamp#build": {
|
|
"dependsOn": ["ani-cursor#build", "winamp-eqf#build"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"webamp#build-library": {
|
|
"dependsOn": [
|
|
"ani-cursor#build",
|
|
"winamp-eqf#build",
|
|
"webamp#type-check"
|
|
],
|
|
"outputs": ["built/**"]
|
|
},
|
|
"webamp-docs#build": {
|
|
"dependsOn": ["webamp#build-library"],
|
|
"outputs": ["build/**", ".docusaurus/**"]
|
|
},
|
|
"ani-cursor#type-check": {},
|
|
"winamp-eqf#type-check": {},
|
|
"webamp#type-check": {
|
|
"dependsOn": ["ani-cursor#build", "winamp-eqf#build"]
|
|
},
|
|
"webamp-docs#type-check": {
|
|
"dependsOn": ["webamp#build-library"]
|
|
},
|
|
"skin-database#type-check": {
|
|
"dependsOn": ["skin-database#grats"]
|
|
},
|
|
"skin-database#grats": {
|
|
"outputs": ["api/graphql/schema.graphql", "api/graphql/schema.ts"]
|
|
},
|
|
"ani-cursor#test": {
|
|
"outputs": []
|
|
},
|
|
"winamp-eqf#test": {
|
|
"outputs": []
|
|
},
|
|
"webamp#test": {
|
|
"dependsOn": ["ani-cursor#build", "winamp-eqf#build"],
|
|
"outputs": []
|
|
},
|
|
"webamp-modern#build": {
|
|
"outputs": ["build/**"]
|
|
},
|
|
"webamp-modern#test": {
|
|
"outputs": []
|
|
},
|
|
"skin-database#test": {
|
|
"dependsOn": ["skin-database#grats"],
|
|
"outputs": []
|
|
},
|
|
"webamp#integration-tests": {
|
|
"dependsOn": ["ani-cursor#build", "winamp-eqf#build"],
|
|
"outputs": []
|
|
},
|
|
"webamp#lint": {
|
|
"dependsOn": ["ani-cursor#build", "winamp-eqf#build"]
|
|
},
|
|
"ani-cursor#lint": {},
|
|
"skin-database#lint": {},
|
|
"skin-museum-og#lint": {},
|
|
"webamp-docs#lint": {},
|
|
"webamp-modern#lint": {},
|
|
"winamp-eqf#lint": {},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
}
|
|
}
|
|
}
|