Update additional scala extensions (#2296)

* Update buildFileList.sh

add new extension

* fix space

* turn this down a hair

* update

* fix rule

* fixed dumb stuff

* fix indent

* hangry
This commit is contained in:
Lukas Gravley 2022-01-06 09:28:26 -06:00 committed by GitHub
parent be2b62efe9
commit 42981a4a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 72 additions and 68 deletions

View file

@ -1,3 +1,4 @@
---
#################################
# GitHub Dependabot Config info #
#################################
@ -36,4 +37,3 @@ updates:
schedule:
interval: "weekly"
open-pull-requests-limit: 10

View file

@ -1,2 +1,3 @@
---
include_checks:
- I

View file

@ -1,5 +1,4 @@
---
#############################
#############################
## JavaScript Linter rules ##
@ -38,36 +37,36 @@ plugins:
#########
# Rules #
#########
rules: {}
# rules:
##############################
# Overrides for JSON parsing #
##############################
overrides:
# JSON files
- files:
- "*.json"
extends:
- plugin:jsonc/recommended-with-json
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON
# JSON files
- files:
- "*.json"
extends:
- plugin:jsonc/recommended-with-json
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON
# JSONC files
- files:
- "*.jsonc"
extends:
- plugin:jsonc/recommended-with-jsonc
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSONC
# JSONC files
- files:
- "*.jsonc"
extends:
- plugin:jsonc/recommended-with-jsonc
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSONC
# JSON5 files
- files:
- "*.json5"
extends:
- plugin:jsonc/recommended-with-json5
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON5
# JSON5 files
- files:
- "*.json5"
extends:
- plugin:jsonc/recommended-with-json5
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON5

View file

@ -5,15 +5,15 @@
#########################
#########################
# configure golangci-lint
# see https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
#configure golangci-lint
#See https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
issues:
exclude-rules:
- path: _test\.go
linters:
- dupl
- gosec
- goconst
- dupl
- gosec
- goconst
linters:
enable:
- gosec
@ -26,7 +26,8 @@ linters:
- revive
linters-settings:
errcheck:
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
# report about assignment of errors to blank
# identifier: `num, _ := strconv.Atoi(numStr)`;
# default is false: such cases aren't reported by default.
check-blank: true
govet:

View file

@ -1,3 +1,4 @@
---
# Lint directives.
lint:
# Linter rules.

View file

@ -50,7 +50,7 @@ rules:
key-duplicates: enable
line-length:
level: warning
max: 80
max: 600
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
new-line-at-end-of-file: disable

View file

@ -1,3 +1,5 @@
---
# yamllint disable rule:line-length
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |

View file

@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
# Prevent duplicate run from happening when a forked push is committed
if: ${{ github.event_name == 'push' ||
github.event.pull_request.head.repo.full_name != github.repository }}
github.event.pull_request.head.repo.full_name != github.repository }}
timeout-minutes: 60
##################
# Load all steps #

View file

@ -14,10 +14,8 @@
# Start the job on all push #
#############################
on:
push:
branches: [main]
pull_request:
branches-ignore: []
###############
# Set the Job #

View file

@ -1,2 +1,3 @@
---
include_checks:
- I
- I

View file

@ -38,36 +38,36 @@ plugins:
#########
# Rules #
#########
rules: {}
# rules: {}
##############################
# Overrides for JSON parsing #
##############################
overrides:
# JSON files
- files:
- "*.json"
extends:
- plugin:jsonc/recommended-with-json
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON
# JSON files
- files:
- "*.json"
extends:
- plugin:jsonc/recommended-with-json
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON
# JSONC files
- files:
- "*.jsonc"
extends:
- plugin:jsonc/recommended-with-jsonc
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSONC
# JSONC files
- files:
- "*.jsonc"
extends:
- plugin:jsonc/recommended-with-jsonc
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSONC
# JSON5 files
- files:
- "*.json5"
extends:
- plugin:jsonc/recommended-with-json5
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON5
# JSON5 files
- files:
- "*.json5"
extends:
- plugin:jsonc/recommended-with-json5
parser: jsonc-eslint-parser
parserOptions:
jsonSyntax: JSON5

View file

@ -11,9 +11,9 @@ issues:
exclude-rules:
- path: _test\.go
linters:
- dupl
- gosec
- goconst
- dupl
- gosec
- goconst
linters:
enable:
- gosec

View file

@ -1,3 +1,4 @@
---
# Lint directives.
lint:
# Linter rules.

View file

@ -698,7 +698,7 @@ function BuildFileList() {
###########################
# Get the SCALA files #
###########################
elif [ "${FILE_TYPE}" == "scala" ] || [ "${BASE_FILE}" == "??????" ]; then
elif [ "${FILE_TYPE}" == "scala" ] || [ "${FILE_TYPE}" == "sc" ] || [ "${BASE_FILE}" == "??????" ]; then
################################
# Append the file to the array #
################################