a122ee6c42
* tweaks to offline state in admin viewers page If stream is offline, hide current viewers statistic and viewers table. Also, change wording for describing max viewers. * take out ant dark stylesheet, organize ant color overrides * remove ant dark css; cleanup ant overrides; format public-detail page * combine toggleswitch component style with textfield so layout can be shared * fix toggleswitch status message placement * - update styles for modals, collapses - move reset dir into its own component - assorted style cleanups ans consistencies * hide entire advanced section for resetyp if no yp * temp adjustments to video modal * temp comment out toggle switch use for later' * address PR comments * lint * update type * allow warnings during lint Co-authored-by: nebunez <uoj2y7wak869@opayq.net>
23 lines
520 B
YAML
23 lines
520 B
YAML
name: linter
|
|
|
|
# This action works with pull requests and pushes
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
linter:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 9.8.0
|
|
- name: Install
|
|
run: npm install
|
|
- name: Run ESLint on changed files
|
|
uses: tj-actions/eslint-changed-files@v4
|
|
with:
|
|
config-path: '.eslintrc.js'
|
|
ignore-path: '.eslintignore'
|
|
extensions: 'ts,tsx,js,jsx'
|