Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EOF check to GitHub actions #109

Merged
merged 1 commit into from
Dec 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
paths-ignore:
- '**/.gitignore'
- '**/*.md'
- 'proto'
- '**/proto/**'

jobs:
eslint:
name: Eslint
runs-on: ubuntu-latest
steps:
- name: Checkout source code
Expand All @@ -32,3 +33,13 @@ jobs:
reporter: github-pr-review
workdir: ./
eslint_flags: "--cache ./**/*.{js,jsx,ts,tsx}"

linelint:
runs-on: ubuntu-latest
name: Check if all files end in newline
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Linelint
uses: fernandrone/linelint@master
id: linelint
15 changes: 15 additions & 0 deletions .linelint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
rules:
# checks if file ends in a newline character
end-of-file:
# set to true to enable this rule
enable: true

# set to true to disable autofix (if enabled globally)
disable-autofix: false

# will be ignored only by this rule
ignore:
- '**/proto/**'

# if true also checks if file ends in a single newline character
single-new-line: true
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,4 +493,4 @@ If you have any questions about this Agreement, please contact us at
or obligations under this Agreement without the prior written
approval of Inworld. Inworld may transfer, delegate, or
otherwise assign this Agreement and all of its rights hereunder
to any person without your consent.
to any person without your consent.
2 changes: 1 addition & 1 deletion examples/chat/bak.env copy.local
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ REACT_APP_MODEL_URI=./assets/innequin_v3.glb
REACT_APP_DRACO_COMPRESSION_URI=/draco-gltf/
# Innequin Defaults
REACT_APP_DEFAULT_ANIMATION=Neutral_Hello_Long_01
REACT_APP_DEFAULT_SKIN=WOOD1
REACT_APP_DEFAULT_SKIN=WOOD1
2 changes: 1 addition & 1 deletion examples/generate_token/.env-sample
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ INWORLD_SCENE=
PORT=4000
USE_SSL=false
SSL_KEY_NAME=
SSL_CERT_NAME=
SSL_CERT_NAME=