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

style(linter): use new eslint configuration style #44

Merged
merged 9 commits into from
Feb 27, 2024
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
5 changes: 1 addition & 4 deletions .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ version = 1
name = "javascript"

[analyzers.meta]
environment = ["nodejs"]

[[transformers]]
name = "prettier"
environment = ["nodejs"]
111 changes: 0 additions & 111 deletions .eslintrc.json

This file was deleted.

16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Deploy Code
on:
on:
push:
branches: [main]
paths-ignore:
- archive/**
- CHANGELOG.md
- CHANGELOG.md
- README.md
- LICENCE
- eslintrc.json
- eslintignore
- .prettierrc
- .prettierrc
- .gitignore
- .husky
jobs:
build:
name: Build updated code
runs-on: self-hosted

steps:
- name: Backup Logs
run: |
Expand All @@ -32,20 +32,20 @@ jobs:
run: git submodule update --init --recursive

- name: Install dependencies
run: |
run: |
yarn
npm rebuild @tensorflow/tfjs-node --build-from-source

- name: Build code
run: |
yarn build
cp ~/important/interchat-env .env
yarn build
cp ~/important/interchat-env .env

restart:
needs: [build]
name: Restart bot
runs-on: self-hosted

steps:
- name: Deploy Commands
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:

- name: Install dependencies
run: yarn add eslint

- name: Lint files
run: yarn lint
run: yarn lint
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ name: Release
on:
push:
tags:
- "v*"
- 'v*'

# Automatically create a GitHub Release, with release details specified (the relevant commits)
jobs:
release:
name: "Release"
runs-on: "ubuntu-latest"
name: 'Release'
runs-on: 'ubuntu-latest'
steps:
- uses: "marvinpinto/action-automatic-releases@latest"
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
repo_token: '${{ secrets.GITHUB_TOKEN }}'
prerelease: false
9 changes: 4 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"tabWidth": 2,
"singleQuote": true,
"useTabs": false,
"printWidth": 100,
"trailingComma": "all"
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "all"
}
Loading