forked from kenmingwang/azusa-player
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from lovegaoshi/dev-noxplayer
feat: 歌单刷新订阅进度条
- Loading branch information
Showing
56 changed files
with
1,595 additions
and
1,247 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 |
---|---|---|
|
@@ -2,5 +2,6 @@ build/ | |
build/*.js | ||
dist/ | ||
node_modules/ | ||
azusa-player-mobile"/ | ||
.snapshots/ | ||
*.min.js |
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 |
---|---|---|
@@ -0,0 +1,109 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
node: true, | ||
}, | ||
extends: [ | ||
'airbnb', | ||
'plugin:@typescript-eslint/eslint-recommended', | ||
'plugin:import/typescript', | ||
'plugin:prettier/recommended', | ||
], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
plugins: ['react', '@typescript-eslint', 'prettier'], | ||
settings: { | ||
react: { | ||
version: 'detect', | ||
}, | ||
'import/resolver': { | ||
alias: { | ||
map: [ | ||
['@utils', './src/utils'], | ||
['@contexts', './src/contexts'], | ||
['@styles', './src/styles'], | ||
['@objects', './src/objects'], | ||
['@background', './src/background'], | ||
['@stores', './src/stores'], | ||
['@hooks', './src/hooks'], | ||
], | ||
extensions: ['.ts', '.js', '.jsx', '.json'], | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
'prettier/prettier': ['error', { endOfLine: 'auto' }], | ||
'import/extensions': [ | ||
'warn', | ||
{ | ||
js: 'never', | ||
jsx: 'never', | ||
tsx: 'never', | ||
ts: 'never', | ||
}, | ||
], | ||
'no-use-before-define': 'off', | ||
'@typescript-eslint/no-use-before-define': ['off'], // solves 'React' was used before it was defined | ||
'space-before-function-paren': 0, | ||
'react/prop-types': 0, | ||
'react/jsx-handler-names': 0, | ||
'react/jsx-fragments': 0, | ||
'react/no-unused-prop-types': 0, | ||
'no-console': 'off', | ||
'linebreak-style': 0, | ||
'operator-linebreak': 'off', | ||
'max-len': 'off', | ||
'no-underscore-dangle': 'off', | ||
'no-unused-vars': 'warn', | ||
'react/jsx-filename-extension': [ | ||
1, | ||
{ | ||
extensions: ['.js', '.jsx', '.ts', '.tsx'], | ||
}, | ||
], | ||
'react/jsx-one-expression-per-line': 'off', | ||
'react/react-in-jsx-scope': 'off', | ||
'react/no-unescaped-entities': 'off', | ||
// no. | ||
'arrow-body-style': 'off', | ||
// no. | ||
'no-plusplus': 'off', | ||
// no. | ||
'no-undef': 'off', | ||
// no. | ||
'no-restricted-syntax': 'off', | ||
// no. | ||
'consistent-return': 'off', | ||
// no. | ||
radix: 'off', | ||
// && and ||? maybe. math operators? no. learn math. | ||
'no-mixed-operators': 'off', | ||
// i dont do this, but one line arrow functions interpreted I'm returning even though i dont use return. | ||
'no-return-assign': 'off', | ||
// no. just no. | ||
'no-continue': 'off', | ||
// no. just no. | ||
'no-return-await': 'off', | ||
// no. | ||
'no-param-reassign': 'off', | ||
// i use <<. | ||
'no-bitwise': 'off', | ||
// for the convenience to work with stupid async chrome API calls. | ||
'no-await-in-loop': 'off', | ||
// actually a feature not oversight. no. | ||
'no-fallthrough': 'off', | ||
'jsx-a11y/click-events-have-key-events': 'off', | ||
// no. its readable. | ||
'no-nested-ternary': 'off', | ||
'react/no-array-index-key': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'react/destructuring-assignment': 'off', | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "azusa-player-mobile"] | ||
path = azusa-player-mobile | ||
url = https://github.com/lovegaoshi/azusa-player-mobile.git |
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,7 +1,10 @@ | ||
{ | ||
"editor.tabSize": 2, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"eslint.validate": ["javascript"] | ||
} | ||
"editor.tabSize": 2, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"eslint.validate": ["javascript"], | ||
"search.exclude": { | ||
"azusa-player-mobile": true | ||
} | ||
} |
Submodule azusa-player-mobile
added at
58a73a
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
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
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
Oops, something went wrong.