Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Release 1.41.0 #677

Merged
merged 15 commits into from
Nov 16, 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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
!/gulpfile.js
/client
/definition
/docs
/server
/lib
66 changes: 52 additions & 14 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,58 @@
{
"extends": "eslint:recommended",
"env": {
"browser": false,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "@rocket.chat/eslint-config",
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
"project": "./tsconfig-lint.json"
},
"rules": {
"semi": ["error", "always"],
"no-console": "off",
"no-unused-vars": "error"
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"{}": false
}
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": ["function", "parameter", "variable"],
"modifiers": ["destructured"],
"format": null
},
{
"selector": ["variable"],
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
"leadingUnderscore": "allowSingleOrDouble"
},
{
"selector": ["function"],
"format": ["camelCase", "PascalCase"],
"leadingUnderscore": "allowSingleOrDouble"
},
{
"selector": ["parameter"],
"format": ["camelCase"],
"leadingUnderscore": "allow"
},
{
"selector": ["parameter"],
"format": ["camelCase"],
"modifiers": ["unused"],
"leadingUnderscore": "allow"
},
{
"selector": ["interface"],
"format": ["PascalCase"],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }],
"new-cap": "off",
"no-await-in-loop": "off"
}
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"recommendations": [
"ms-vscode.vscode-typescript-tslint-plugin",
"dbaeumer.vscode-eslint",
"rbbit.typescript-hero",
"EditorConfig.EditorConfig",
"eamodio.gitlens"
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"**/.DS_Store": true,
"coverage": true,
".nyc_output": true
}
},
"typescript.tsdk": "node_modules/typescript/lib"
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2018 Rocket.Chat Technologies Corp.
Copyright (c) 2015-2023 Rocket.Chat Technologies Corp.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions docs/.nojekyll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
Loading
Loading