mirror of https://github.com/sualko/cloud_bbb
15 changed files with 650 additions and 177 deletions
-
33.eslintrc.js
-
6.stylelintrc.json
-
2lib/Controller/JoinController.php
-
9lib/Controller/RoomApiController.php
-
28package.json
-
1templates/publicdisplayname.php
-
12ts/Manager/Api.ts
-
18ts/Manager/App.scss
-
2ts/Manager/App.tsx
-
2ts/Manager/NewRoomForm.tsx
-
8ts/Manager/Nextcloud.d.ts
-
18ts/Manager/RoomRow.tsx
-
8ts/Manager/SubmitInput.tsx
-
4ts/filelist.ts
-
676yarn.lock
@ -1,5 +1,32 @@ |
|||
module.exports = { |
|||
root: true, |
|||
parser: '@typescript-eslint/parser', |
|||
parserOptions: { |
|||
ecmaFeatures: { |
|||
jsx: true, // Allows for the parsing of JSX
|
|||
}, |
|||
}, |
|||
plugins: [ |
|||
'@typescript-eslint', |
|||
], |
|||
settings: { |
|||
react: { |
|||
version: 'detect', // Tells eslint-plugin-react to automatically detect the version of React to use
|
|||
}, |
|||
}, |
|||
extends: [ |
|||
'nextcloud', |
|||
] |
|||
} |
|||
'plugin:react/recommended', |
|||
'plugin:@typescript-eslint/eslint-recommended', |
|||
'plugin:@typescript-eslint/recommended', |
|||
], |
|||
rules: { |
|||
'@typescript-eslint/explicit-function-return-type': 'off', |
|||
'@typescript-eslint/no-use-before-define': 'off', |
|||
'@typescript-eslint/no-explicit-any': 'off', |
|||
'react/prop-types': 'off', |
|||
quotes: ['error', 'single'], |
|||
'comma-dangle': ['error', 'always-multiline'], |
|||
'array-bracket-newline': ['error', 'consistent'], |
|||
'quote-props': ['error', 'as-needed'], |
|||
}, |
|||
} |
@ -0,0 +1,6 @@ |
|||
{ |
|||
"extends": "stylelint-config-recommended-scss", |
|||
"rules": { |
|||
"indentation": 2 |
|||
} |
|||
} |
676
yarn.lock
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
Write
Preview
Loading…
Cancel
Save
Reference in new issue