Skip to content

Commit

Permalink
Fixing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalopitz committed Dec 11, 2021
1 parent f6c5d57 commit 84db152
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 54 deletions.
6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 8
},
"plugins": [
"react",
"prettier"
Expand Down
136 changes: 85 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/eslint-parser": "^7.16.3",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"babel-eslint": "^10.0.1",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-env": "^1.6.1",
Expand Down
6 changes: 5 additions & 1 deletion src/ui/services/MprisService.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import * as crypto from 'crypto';

import { play, pause, playNext, playPrev } from '../reduxActions/PlayerActions';
import store from '../reducers';
import { disableNextButton, getPlaying, isStreaming } from '../selectors/PlayerSelectors';
import {
disableNextButton,
getPlaying,
isStreaming,
} from '../selectors/PlayerSelectors';

let player;
let lastTrackState = {};
Expand Down

0 comments on commit 84db152

Please sign in to comment.