From 7e1995d86b3dc50a42eb1db3acdc05e3dde1e9a9 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Thu, 20 Jan 2022 03:17:07 -0500 Subject: [PATCH] chore: flarum-cli audit infra --fix --- extensions/bbcode/.editorconfig | 2 +- extensions/bbcode/.gitattributes | 15 +++++++++++++++ extensions/bbcode/.gitignore | 10 ++++++++-- extensions/bbcode/composer.json | 21 ++++++++++++++++++++- 4 files changed, 44 insertions(+), 4 deletions(-) diff --git a/extensions/bbcode/.editorconfig b/extensions/bbcode/.editorconfig index 87694ddab..a61a3ab36 100644 --- a/extensions/bbcode/.editorconfig +++ b/extensions/bbcode/.editorconfig @@ -15,5 +15,5 @@ indent_size = 2 [*.{diff,md}] trim_trailing_whitespace = false -[*.php] +[*.{php,xml,json}] indent_size = 4 diff --git a/extensions/bbcode/.gitattributes b/extensions/bbcode/.gitattributes index 4afe79241..ca0f40972 100644 --- a/extensions/bbcode/.gitattributes +++ b/extensions/bbcode/.gitattributes @@ -1,3 +1,18 @@ .gitattributes export-ignore .gitignore export-ignore +.gitmodules export-ignore +.github export-ignore +.travis export-ignore .travis.yml export-ignore +.editorconfig export-ignore +.styleci.yml export-ignore + +phpunit.xml export-ignore +tests export-ignore + +js/dist/* -diff +js/dist/* linguist-generated +js/dist-typings/* linguist-generated +js/yarn.lock -diff + +* text=auto eol=lf diff --git a/extensions/bbcode/.gitignore b/extensions/bbcode/.gitignore index 43eeee7fe..4ebb168a0 100644 --- a/extensions/bbcode/.gitignore +++ b/extensions/bbcode/.gitignore @@ -1,6 +1,12 @@ /vendor +composer.lock composer.phar + .DS_Store Thumbs.db -bower_components -node_modules \ No newline at end of file +tests/.phpunit.result.cache +/tests/integration/tmp +.vagrant +.idea/* +.vscode +js/coverage-ts diff --git a/extensions/bbcode/composer.json b/extensions/bbcode/composer.json index 8483b69ef..77e5ea78f 100644 --- a/extensions/bbcode/composer.json +++ b/extensions/bbcode/composer.json @@ -2,7 +2,9 @@ "name": "flarum/bbcode", "description": "Allow posts to be formatted with BBCode.", "type": "flarum-extension", - "keywords": ["formatting"], + "keywords": [ + "formatting" + ], "license": "MIT", "support": { "issues": "https://github.com/flarum/core/issues", @@ -31,6 +33,23 @@ "backgroundColor": "#238C59", "color": "#fff" } + }, + "flarum-cli": { + "modules": { + "admin": false, + "forum": false, + "js": false, + "jsCommon": false, + "css": false, + "gitConf": true, + "githubActions": false, + "prettier": false, + "typescript": false, + "bundlewatch": false, + "backendTesting": false, + "editorConfig": true, + "styleci": true + } } } }