* Lyrics implementation prototype * feat: update lyrics view * chore: add docs * chore: cleanup * feat: animate active text * fix: hide lyrics button when there are none * feat: create lyrics preview in now playing modal * fix: header overlay color Closes #224 Closes #151 Closes #100 --------- Co-authored-by: Lei Nelissen <lei@codified.nl>
69 lines
1.4 KiB
JavaScript
69 lines
1.4 KiB
JavaScript
module.exports = {
|
|
env: {
|
|
es6: true,
|
|
node: true
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:react/recommended',
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
'plugin:react-hooks/recommended',
|
|
// 'plugin:@typescript-eslint/recommended'
|
|
],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly'
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaFeatures: {
|
|
jsx: true
|
|
},
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module'
|
|
},
|
|
plugins: [
|
|
'react',
|
|
'@typescript-eslint',
|
|
'react-hooks'
|
|
],
|
|
rules: {
|
|
indent: 'off',
|
|
'@typescript-eslint/indent': [
|
|
'error',
|
|
4,
|
|
{
|
|
SwitchCase: 1,
|
|
}
|
|
],
|
|
'linebreak-style': [
|
|
'error',
|
|
'unix'
|
|
],
|
|
quotes: [
|
|
'error',
|
|
'single'
|
|
],
|
|
semi: [
|
|
'error',
|
|
'always'
|
|
],
|
|
'no-unused-vars': 'off',
|
|
'react/prop-types': 'off',
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error'
|
|
],
|
|
'react/jsx-no-literals': [
|
|
'error',
|
|
{
|
|
ignoreProps: true
|
|
}
|
|
],
|
|
'react/react-in-jsx-scope': 'off',
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect',
|
|
}
|
|
}
|
|
}; |