diff --git a/.editorconfig b/.editorconfig index 9ba866b..32e3b37 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,7 +8,7 @@ charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true -[*.{html,md,js,css,sql}] +[*.{html,md,js,json,css,sql}] indent_size = 2 [*.py] diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index ef7bc67..0b78f0e 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -28,7 +28,7 @@ jobs: run: | echo "VALIDATE_ALL_CODEBASE=false" >> $GITHUB_ENV - name: Lint Code Base - uses: super-linter/super-linter/slim@v6.6.0 + uses: super-linter/super-linter/slim@v6.8.0 env: DEFAULT_BRANCH: master GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}s diff --git a/config/storage-cors.json b/config/storage-cors.json index cdbecb4..3bff8e5 100644 --- a/config/storage-cors.json +++ b/config/storage-cors.json @@ -1,26 +1,26 @@ [ - { - "origin": [ - "http://beta.httparchive.org", - "https://beta.httparchive.org", - "http://httparchive.org", - "https://httparchive.org", - "http://www.httparchive.org", - "https://www.httparchive.org", - "http://staging.httparchive.org", - "https://staging.httparchive.org", - "http://localhost:8080", - "http://127.0.0.1:8080", - "http://httparchive.appspot.com", - "https://httparchive.appspot.com", - "http://httparchive-staging.appspot.com", - "https://httparchive-staging.appspot.com", - "https://drupal.httparchive.org", - "https://magento.httparchive.org", - "https://wordpress.httparchive.org" - ], - "responseHeader": ["Content-Type"], - "method": ["GET", "HEAD"], - "maxAgeSeconds": 3600 - } + { + "origin": [ + "http://beta.httparchive.org", + "https://beta.httparchive.org", + "http://httparchive.org", + "https://httparchive.org", + "http://www.httparchive.org", + "https://www.httparchive.org", + "http://staging.httparchive.org", + "https://staging.httparchive.org", + "http://localhost:8080", + "http://127.0.0.1:8080", + "http://httparchive.appspot.com", + "https://httparchive.appspot.com", + "http://httparchive-staging.appspot.com", + "https://httparchive-staging.appspot.com", + "https://drupal.httparchive.org", + "https://magento.httparchive.org", + "https://wordpress.httparchive.org" + ], + "responseHeader": ["Content-Type"], + "method": ["GET", "HEAD"], + "maxAgeSeconds": 3600 + } ]