Skip to content

Commit

Permalink
fixed the lint errors (#1524)
Browse files Browse the repository at this point in the history
Pushed this through quickly so I wouldn't have to deal with these errors on each individual branch before other changes were reviewed. No actual changes.
  • Loading branch information
varCepheid authored Jan 15, 2023
1 parent b9e2274 commit b8a9791
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable caleb/import/no-unresolved */
import linaria from 'linaria-preact/rollup'
import node from '@rollup/plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
Expand Down
4 changes: 2 additions & 2 deletions src/components/team-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const TeamPicker = ({
editable = true,
}: Props) => (
<div class={clsx(teamPickerStyle, editable && editableTeamPickerStyle)}>
<div class={allianceStyle + ' ' + redStyle}>
<div class={clsx(allianceStyle, redStyle)}>
{redAlliance.map((t) => (
<Item
key={t}
Expand All @@ -120,7 +120,7 @@ const TeamPicker = ({
/>
))}
</div>
<div class={allianceStyle + ' ' + blueStyle}>
<div class={clsx(allianceStyle, blueStyle)}>
{blueAlliance.map((t) => (
<Item
key={t}
Expand Down
2 changes: 1 addition & 1 deletion src/components/text-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const innerClass = css`
outline: none;
}
&${'.' + hasFocusedClass}:invalid {
&${clsx('.', hasFocusedClass)}:invalid {
border-bottom-color: red;
box-shadow: none;
}
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const HtmlWebpackPlugin = require('html-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const postcssConfig = require('./postcss.config')
// eslint-disable-next-line caleb/node/no-missing-require
const WebpackBar = require('webpackbar')
const FriendlyErrorsWebpackPlugin = require('friendly-errors-webpack-plugin')
require('dotenv').config()
Expand Down

0 comments on commit b8a9791

Please sign in to comment.