Skip to content

Commit 1bce147

Browse files
Merge branch 'default' into custom-assets
2 parents fa4c35f + aa3b6b9 commit 1bce147

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+887
-1137
lines changed

.eslintrc.js

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
'use strict';
2+
3+
module.exports = {
4+
extends: ['airbnb', 'airbnb/hooks'],
5+
6+
plugins: ['compat', 'react-hooks'],
7+
parserOptions: {
8+
ecmaVersion: 2022,
9+
},
10+
11+
rules: {
12+
'arrow-body-style': 'off',
13+
'no-underscore-dangle': ['error', { allow: ['_id'] }],
14+
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
15+
'react/jsx-filename-extension': 'off',
16+
'react/no-unused-prop-types': ['error', { skipShapeProps: true }],
17+
'react/forbid-prop-types': 'off',
18+
'react/jsx-props-no-spreading': 'off',
19+
'react/require-default-props': 'off',
20+
'react/static-property-placement': 'off',
21+
'react/jsx-one-expression-per-line': 'off',
22+
'react/function-component-definition': ['off', {
23+
namedComponents: 'function-declaration',
24+
unnamedComponents: 'arrow-function',
25+
}],
26+
},
27+
28+
settings: {
29+
polyfills: [
30+
'Array.from',
31+
'Number.isFinite',
32+
'Number.isNaN',
33+
'Object.assign',
34+
'Object.is',
35+
'Object.values',
36+
'Promise',
37+
'AbortController',
38+
'fetch',
39+
'Headers',
40+
'URL',
41+
'CSS.escape',
42+
],
43+
},
44+
45+
overrides: [
46+
{
47+
files: ['src/**/*.js'],
48+
rules: {
49+
'compat/compat': 'error',
50+
},
51+
},
52+
{
53+
files: ['tasks/**/*.js', '*.config.js', '.eslintrc.js', 'test/*.js'],
54+
parserOptions: {
55+
sourceType: 'script',
56+
},
57+
rules: {
58+
strict: ['error', 'global'],
59+
'no-console': 'off',
60+
},
61+
},
62+
{
63+
files: ['**/__tests__/**/*.js'],
64+
plugins: ['eslint-plugin-jest', 'eslint-plugin-jest-dom', 'eslint-plugin-testing-library'],
65+
extends: ['plugin:jest/recommended', 'plugin:jest-dom/recommended', 'plugin:testing-library/react'],
66+
env: {
67+
jest: true,
68+
},
69+
},
70+
],
71+
};

.eslintrc.json

Lines changed: 0 additions & 68 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 2.0.0-alpha.15 / 04 Nov 2022
8+
While this is an alpha release, new servers should use this rather than an older "stable" version.
9+
10+
Features:
11+
* Rework the admin panel with SWR. (#2544)
12+
13+
Bugfixes:
14+
* Fix a crash in the admin user list when a user has an invalid join date.
15+
16+
Internal:
17+
* Reduce unnecessary callback invalidation.
18+
* Do not compile dependencies to ES2015 when targeting modern browsers.
19+
20+
## 2.0.0-alpha.14 / 31 Oct 2022
21+
While this is an alpha release, new servers should use this rather than an older "stable" version.
22+
23+
Bugfixes:
24+
* Fix preview media dialog backdrop size.
25+
* Show preview button in history when not logged in.
26+
* Tweak TextField outlines.
27+
28+
Internal:
29+
* Use react-async-hook for async operations. (#2537)
30+
* Setup chat commands in a more declarative way. (#2539)
31+
* Mount dialogs as MUI intends. (#2540)
32+
733
## 2.0.0-alpha.13 / 30 Oct 2022
834
While this is an alpha release, new servers should use this rather than an older "stable" version.
935

0 commit comments

Comments
 (0)