mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
chore: re-enable linter on commit
This commit is contained in:
parent
2115054de6
commit
9fa0c2e1ba
1
.gitignore
vendored
1
.gitignore
vendored
@ -26,7 +26,6 @@ tcp_server/src/Pipfile.lock
|
|||||||
!tcp_server/**/.gitkeep
|
!tcp_server/**/.gitkeep
|
||||||
!bridges/python/**/.gitkeep
|
!bridges/python/**/.gitkeep
|
||||||
!**/*.sample*
|
!**/*.sample*
|
||||||
server/src/core/http-server/old-server.js
|
|
||||||
packages/**/config/config.json
|
packages/**/config/config.json
|
||||||
skills/**/src/config.json
|
skills/**/src/config.json
|
||||||
packages/**/data/db/*.json
|
packages/**/data/db/*.json
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname "$0")/_/husky.sh"
|
. "$(dirname "$0")/_/husky.sh"
|
||||||
|
|
||||||
# TODO: add lint-staged back in when JavaScript to TypeScript is complete
|
npx lint-staged
|
||||||
# npx lint-staged
|
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/news/github_trends/run",
|
"route": "/api/action/news/github_trends/run",
|
||||||
"params": [
|
"params": ["number", "daterange"],
|
||||||
"number",
|
|
||||||
"daterange"
|
|
||||||
],
|
|
||||||
"entitiesType": "builtIn"
|
"entitiesType": "builtIn"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -17,9 +14,7 @@
|
|||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/create_list",
|
"route": "/api/action/productivity/todo_list/create_list",
|
||||||
"params": [
|
"params": ["list"],
|
||||||
"list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -30,53 +25,37 @@
|
|||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/view_list",
|
"route": "/api/action/productivity/todo_list/view_list",
|
||||||
"params": [
|
"params": ["list"],
|
||||||
"list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/rename_list",
|
"route": "/api/action/productivity/todo_list/rename_list",
|
||||||
"params": [
|
"params": ["old_list", "new_list"],
|
||||||
"old_list",
|
|
||||||
"new_list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/delete_list",
|
"route": "/api/action/productivity/todo_list/delete_list",
|
||||||
"params": [
|
"params": ["list"],
|
||||||
"list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/add_todos",
|
"route": "/api/action/productivity/todo_list/add_todos",
|
||||||
"params": [
|
"params": ["todos", "list"],
|
||||||
"todos",
|
|
||||||
"list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/complete_todos",
|
"route": "/api/action/productivity/todo_list/complete_todos",
|
||||||
"params": [
|
"params": ["todos", "list"],
|
||||||
"todos",
|
|
||||||
"list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/productivity/todo_list/uncheck_todos",
|
"route": "/api/action/productivity/todo_list/uncheck_todos",
|
||||||
"params": [
|
"params": ["todos", "list"],
|
||||||
"todos",
|
|
||||||
"list"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -97,9 +76,7 @@
|
|||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/utilities/is_it_down/run",
|
"route": "/api/action/utilities/is_it_down/run",
|
||||||
"params": [
|
"params": ["url"],
|
||||||
"url"
|
|
||||||
],
|
|
||||||
"entitiesType": "builtIn"
|
"entitiesType": "builtIn"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -115,9 +92,7 @@
|
|||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/games/akinator/choose_thematic",
|
"route": "/api/action/games/akinator/choose_thematic",
|
||||||
"params": [
|
"params": ["thematic"],
|
||||||
"thematic"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -158,9 +133,7 @@
|
|||||||
{
|
{
|
||||||
"method": "POST",
|
"method": "POST",
|
||||||
"route": "/api/action/games/rochambeau/play",
|
"route": "/api/action/games/rochambeau/play",
|
||||||
"params": [
|
"params": ["handsign"],
|
||||||
"handsign"
|
|
||||||
],
|
|
||||||
"entitiesType": "trim"
|
"entitiesType": "trim"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
// TODO: delete this file once multi clients are reimplemented
|
||||||
|
|
||||||
import { join } from 'node:path'
|
import { join } from 'node:path'
|
||||||
|
|
||||||
import Fastify from 'fastify'
|
import Fastify from 'fastify'
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
// TODO: remove the synchronization capability
|
||||||
|
|
||||||
import fs from 'node:fs'
|
import fs from 'node:fs'
|
||||||
import path from 'node:path'
|
import path from 'node:path'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user