Skip to content

Commit

Permalink
fix compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman249 committed Jun 15, 2023
1 parent d5dfca8 commit 4330568
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ module.exports = {
parser: 'babel-eslint'
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-unused-vars': 'warn',
'no-useless-escape': 'warn',
'no-empty': 'warn',
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-unused-vars': 'warn',
'no-useless-escape': 'warn',
'no-empty': 'warn',
'no-extra-boolean-cast': 'warn',
},
overrides: [
{
Expand Down
1 change: 0 additions & 1 deletion src/src/modules/containers/steam-runtime-scout.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export default class SteamRuntimeScout {
*/
install() {
return this.soldier.install().then(() => {
/*eslint no-extra-boolean-cast: "warn"*/
if (this.check() || !Boolean(this.command.exec('command -v steam'))) {
return Promise.resolve();
}
Expand Down

0 comments on commit 4330568

Please sign in to comment.