diff --git a/.prettierignore b/.prettierignore index e7495684..67d233a3 100644 --- a/.prettierignore +++ b/.prettierignore @@ -5,7 +5,7 @@ .ionide/ # Test files -/check/checkdata/schema/testdata/input/invalid-schema.json -/check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json -/check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json -/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json +/internal/check/checkdata/schema/testdata/input/invalid-schema.json +/internal/check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json +/internal/check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json +/internal/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json diff --git a/Taskfile.yml b/Taskfile.yml index 2e2a29bc..e13f63a2 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -17,8 +17,8 @@ tasks: desc: Generate Go code cmds: - go get -u "github.com/go-bindata/go-bindata/...@v3.1.1" - - go-bindata -nocompress -nometadata -o "./check/checkdata/schema/schemadata/bindata.go" --pkg schemadata --prefix "./etc/schemas/" "./etc/schemas/" - - go-bindata -nocompress -nometadata -o "./check/checkdata/schema/testdata/bindata.go" --pkg testdata --prefix "./check/checkdata/schema/testdata/input/" "./check/checkdata/schema/testdata/input/" + - go-bindata -nocompress -nometadata -o "./internal/check/checkdata/schema/schemadata/bindata.go" --pkg schemadata --prefix "./etc/schemas/" "./etc/schemas/" + - go-bindata -nocompress -nometadata -o "./internal/check/checkdata/schema/testdata/bindata.go" --pkg testdata --prefix "./internal/check/checkdata/schema/testdata/input/" "./internal/check/checkdata/schema/testdata/input/" - go get -u golang.org/x/tools/cmd/stringer@v0.0.0-20201211192254-72fbef54948b - go generate ./... - task: go:format @@ -255,7 +255,7 @@ vars: TIMESTAMP: sh: echo "$(date -u +"%Y-%m-%dT%H:%M:%SZ")" LDFLAGS: > - -ldflags '-X github.com/arduino/arduino-lint/configuration.commit={{.COMMIT}} -X github.com/arduino/arduino-lint/configuration.buildTimestamp={{.TIMESTAMP}}' + -ldflags '-X github.com/arduino/arduino-lint/internal/configuration.commit={{.COMMIT}} -X github.com/arduino/arduino-lint/internal/configuration.buildTimestamp={{.TIMESTAMP}}' GOFLAGS: "-timeout 10m -v -coverpkg=./... -covermode=atomic" GOLINTFLAGS: "-min_confidence 0.8 -set_exit_status" @@ -268,5 +268,5 @@ vars: WORKFLOW_SCHEMA_PATH: "$(mktemp -t gha-workflow-schema-XXXXXXXXXX.json)" - CODESPELL_SKIP_OPTION: '--skip "./.git,go.mod,go.sum,./arduino-lint,./arduino-lint.exe,./check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/library.properties,./site"' + CODESPELL_SKIP_OPTION: '--skip "./.git,go.mod,go.sum,./arduino-lint,./arduino-lint.exe,./internal/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/library.properties,./site"' CODESPELL_IGNORE_WORDS_OPTION: "--ignore-words ./etc/codespell-ignore-words-list.txt" diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 7a1cecd3..e17d95ad 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -124,7 +124,7 @@ By default, all tests for all arduino-lint's Go packages are run. To run unit te packages, you can set the `TARGETS` environment variable, e.g.: ``` -TARGETS=./check task go:test-unit +TARGETS=./internal/check task go:test-unit ``` Alternatively, to run only some specific test(s), you can specify a regex to match against the test function name, e.g.: @@ -136,7 +136,7 @@ TEST_REGEX='^TestLibraryProperties.*' task go:test-unit Both can be combined as well, typically to run only a specific test: ``` -TEST_REGEX='^TestFindProjects$' TARGETS=./project task go:test-unit +TEST_REGEX='^TestFindProjects$' TARGETS=./internal/project task go:test-unit ``` #### Integration tests diff --git a/docsgen/main.go b/docsgen/main.go index 467dfead..280d576f 100644 --- a/docsgen/main.go +++ b/docsgen/main.go @@ -19,7 +19,7 @@ package main import ( "os" - "github.com/arduino/arduino-lint/cli" + "github.com/arduino/arduino-lint/internal/cli" "github.com/spf13/cobra/doc" ) diff --git a/check/check.go b/internal/check/check.go similarity index 86% rename from check/check.go rename to internal/check/check.go index 40dafdf5..10a86175 100644 --- a/check/check.go +++ b/internal/check/check.go @@ -19,14 +19,14 @@ package check import ( "fmt" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/result" - "github.com/arduino/arduino-lint/result/feedback" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/result" + "github.com/arduino/arduino-lint/internal/result/feedback" "github.com/sirupsen/logrus" ) diff --git a/check/check_test.go b/internal/check/check_test.go similarity index 90% rename from check/check_test.go rename to internal/check/check_test.go index b87914bc..a21b7c8d 100644 --- a/check/check_test.go +++ b/internal/check/check_test.go @@ -18,12 +18,12 @@ package check import ( "testing" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/util/test" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/util/test" "github.com/stretchr/testify/assert" ) diff --git a/check/checkconfigurations/checkconfigurations.go b/internal/check/checkconfigurations/checkconfigurations.go similarity index 99% rename from check/checkconfigurations/checkconfigurations.go rename to internal/check/checkconfigurations/checkconfigurations.go index e1774544..35e9b2d6 100644 --- a/check/checkconfigurations/checkconfigurations.go +++ b/internal/check/checkconfigurations/checkconfigurations.go @@ -24,9 +24,9 @@ Package checkconfigurations defines the configuration of each check: package checkconfigurations import ( - "github.com/arduino/arduino-lint/check/checkfunctions" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check/checkfunctions" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project/projecttype" ) // Type is the type for check configurations. diff --git a/check/checkconfigurations/checkconfigurations_test.go b/internal/check/checkconfigurations/checkconfigurations_test.go similarity index 92% rename from check/checkconfigurations/checkconfigurations_test.go rename to internal/check/checkconfigurations/checkconfigurations_test.go index 48933f72..254d865c 100644 --- a/check/checkconfigurations/checkconfigurations_test.go +++ b/internal/check/checkconfigurations/checkconfigurations_test.go @@ -19,11 +19,11 @@ import ( "fmt" "testing" - "github.com/arduino/arduino-lint/check" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/check/checklevel" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/check/checklevel" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/check/checkdata/checkdata.go b/internal/check/checkdata/checkdata.go similarity index 92% rename from check/checkdata/checkdata.go rename to internal/check/checkdata/checkdata.go index e72e31f4..b9a64360 100644 --- a/check/checkdata/checkdata.go +++ b/internal/check/checkdata/checkdata.go @@ -20,9 +20,9 @@ This is for data required by multiple checks. package checkdata import ( - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/packageindex" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/packageindex" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" ) diff --git a/check/checkdata/library.go b/internal/check/checkdata/library.go similarity index 92% rename from check/checkdata/library.go rename to internal/check/checkdata/library.go index 2113faa2..e0442032 100644 --- a/check/checkdata/library.go +++ b/internal/check/checkdata/library.go @@ -22,11 +22,11 @@ import ( "os" "github.com/arduino/arduino-cli/arduino/libraries" - "github.com/arduino/arduino-lint/check/checkdata/schema" - "github.com/arduino/arduino-lint/check/checkdata/schema/compliancelevel" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/library/libraryproperties" - "github.com/arduino/arduino-lint/result/feedback" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema/compliancelevel" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/library/libraryproperties" + "github.com/arduino/arduino-lint/internal/result/feedback" "github.com/arduino/go-properties-orderedmap" "github.com/client9/misspell" "github.com/sirupsen/logrus" diff --git a/check/checkdata/packageindex.go b/internal/check/checkdata/packageindex.go similarity index 100% rename from check/checkdata/packageindex.go rename to internal/check/checkdata/packageindex.go diff --git a/check/checkdata/packageindex_test.go b/internal/check/checkdata/packageindex_test.go similarity index 94% rename from check/checkdata/packageindex_test.go rename to internal/check/checkdata/packageindex_test.go index 803af981..5a16810b 100644 --- a/check/checkdata/packageindex_test.go +++ b/internal/check/checkdata/packageindex_test.go @@ -18,8 +18,8 @@ package checkdata import ( "testing" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/check/checkdata/platform.go b/internal/check/checkdata/platform.go similarity index 91% rename from check/checkdata/platform.go rename to internal/check/checkdata/platform.go index 127c3363..3082d886 100644 --- a/check/checkdata/platform.go +++ b/internal/check/checkdata/platform.go @@ -16,8 +16,8 @@ package checkdata import ( - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/platform/boardstxt" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/platform/boardstxt" "github.com/arduino/go-properties-orderedmap" ) diff --git a/check/checkdata/platform_test.go b/internal/check/checkdata/platform_test.go similarity index 94% rename from check/checkdata/platform_test.go rename to internal/check/checkdata/platform_test.go index b8828802..1de53b86 100644 --- a/check/checkdata/platform_test.go +++ b/internal/check/checkdata/platform_test.go @@ -18,8 +18,8 @@ package checkdata import ( "testing" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/check/checkdata/schema/compliancelevel/compliancelevel.go b/internal/check/checkdata/schema/compliancelevel/compliancelevel.go similarity index 100% rename from check/checkdata/schema/compliancelevel/compliancelevel.go rename to internal/check/checkdata/schema/compliancelevel/compliancelevel.go diff --git a/check/checkdata/schema/compliancelevel/type_string.go b/internal/check/checkdata/schema/compliancelevel/type_string.go similarity index 100% rename from check/checkdata/schema/compliancelevel/type_string.go rename to internal/check/checkdata/schema/compliancelevel/type_string.go diff --git a/check/checkdata/schema/parsevalidationresult.go b/internal/check/checkdata/schema/parsevalidationresult.go similarity index 100% rename from check/checkdata/schema/parsevalidationresult.go rename to internal/check/checkdata/schema/parsevalidationresult.go diff --git a/check/checkdata/schema/schema.go b/internal/check/checkdata/schema/schema.go similarity index 100% rename from check/checkdata/schema/schema.go rename to internal/check/checkdata/schema/schema.go diff --git a/check/checkdata/schema/schema_test.go b/internal/check/checkdata/schema/schema_test.go similarity index 97% rename from check/checkdata/schema/schema_test.go rename to internal/check/checkdata/schema/schema_test.go index dd4b00db..7da31595 100644 --- a/check/checkdata/schema/schema_test.go +++ b/internal/check/checkdata/schema/schema_test.go @@ -19,7 +19,7 @@ import ( "regexp" "testing" - "github.com/arduino/arduino-lint/check/checkdata/schema/testdata" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema/testdata" "github.com/arduino/go-properties-orderedmap" "github.com/ory/jsonschema/v3" "github.com/stretchr/testify/require" @@ -199,14 +199,14 @@ func Test_schemaID(t *testing.T) { require.NotNil(t, err) id, err := schemaID("valid-schema.json", testdata.Asset) - require.Equal(t, "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/schema-with-references.json", id) + require.Equal(t, "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/schema-with-references.json", id) require.Nil(t, err) } func Test_validationErrorSchemaPointerValue(t *testing.T) { validationError := ValidationResult{ Result: &jsonschema.ValidationError{ - SchemaURL: "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/referenced-schema-1.json", + SchemaURL: "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/referenced-schema-1.json", SchemaPtr: "#/definitions/patternObject/pattern", }, dataLoader: testdata.Asset, diff --git a/check/checkdata/schema/schemadata/bindata.go b/internal/check/checkdata/schema/schemadata/bindata.go similarity index 100% rename from check/checkdata/schema/schemadata/bindata.go rename to internal/check/checkdata/schema/schemadata/bindata.go diff --git a/check/checkdata/schema/schemadata/schemadata.go b/internal/check/checkdata/schema/schemadata/schemadata.go similarity index 100% rename from check/checkdata/schema/schemadata/schemadata.go rename to internal/check/checkdata/schema/schemadata/schemadata.go diff --git a/check/checkdata/schema/testdata/bindata.go b/internal/check/checkdata/schema/testdata/bindata.go similarity index 93% rename from check/checkdata/schema/testdata/bindata.go rename to internal/check/checkdata/schema/testdata/bindata.go index ac28a12d..8bcdce6d 100644 --- a/check/checkdata/schema/testdata/bindata.go +++ b/internal/check/checkdata/schema/testdata/bindata.go @@ -1,11 +1,11 @@ // Package testdata Code generated by go-bindata. (@generated) DO NOT EDIT. // sources: -// check/checkdata/schema/testdata/input/invalid-schema.json -// check/checkdata/schema/testdata/input/referenced-schema-1.json -// check/checkdata/schema/testdata/input/referenced-schema-2.json -// check/checkdata/schema/testdata/input/schema-without-id.json -// check/checkdata/schema/testdata/input/valid-schema-with-references.json -// check/checkdata/schema/testdata/input/valid-schema.json +// internal/check/checkdata/schema/testdata/input/invalid-schema.json +// internal/check/checkdata/schema/testdata/input/referenced-schema-1.json +// internal/check/checkdata/schema/testdata/input/referenced-schema-2.json +// internal/check/checkdata/schema/testdata/input/schema-without-id.json +// internal/check/checkdata/schema/testdata/input/valid-schema-with-references.json +// internal/check/checkdata/schema/testdata/input/valid-schema.json package testdata import ( @@ -82,7 +82,7 @@ func invalidSchemaJson() (*asset, error) { var _referencedSchema1Json = []byte(`{ "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/referenced-schema-1.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/referenced-schema-1.json", "title": "Schema for use in unit tests", "definitions": { "patternObject": { @@ -112,7 +112,7 @@ func referencedSchema1Json() (*asset, error) { var _referencedSchema2Json = []byte(`{ "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/referenced-schema-2.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/referenced-schema-2.json", "title": "Schema for use in unit tests", "definitions": { "minLengthObject": { @@ -182,7 +182,7 @@ func schemaWithoutIdJson() (*asset, error) { var _validSchemaWithReferencesJson = []byte(`{ "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/schema-with-references.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/schema-with-references.json", "title": "Schema for use in unit tests", "type": "object", "properties": { @@ -242,7 +242,7 @@ func validSchemaWithReferencesJson() (*asset, error) { var _validSchemaJson = []byte(`{ "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/schema-with-references.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/schema-with-references.json", "title": "Schema for use in unit tests", "type": "object", "properties": { diff --git a/check/checkdata/schema/testdata/input/invalid-schema.json b/internal/check/checkdata/schema/testdata/input/invalid-schema.json similarity index 100% rename from check/checkdata/schema/testdata/input/invalid-schema.json rename to internal/check/checkdata/schema/testdata/input/invalid-schema.json diff --git a/check/checkdata/schema/testdata/input/referenced-schema-1.json b/internal/check/checkdata/schema/testdata/input/referenced-schema-1.json similarity index 80% rename from check/checkdata/schema/testdata/input/referenced-schema-1.json rename to internal/check/checkdata/schema/testdata/input/referenced-schema-1.json index 8d633b89..72073e30 100644 --- a/check/checkdata/schema/testdata/input/referenced-schema-1.json +++ b/internal/check/checkdata/schema/testdata/input/referenced-schema-1.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/referenced-schema-1.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/referenced-schema-1.json", "title": "Schema for use in unit tests", "definitions": { "patternObject": { diff --git a/check/checkdata/schema/testdata/input/referenced-schema-2.json b/internal/check/checkdata/schema/testdata/input/referenced-schema-2.json similarity index 89% rename from check/checkdata/schema/testdata/input/referenced-schema-2.json rename to internal/check/checkdata/schema/testdata/input/referenced-schema-2.json index 980eff6a..59c203e7 100644 --- a/check/checkdata/schema/testdata/input/referenced-schema-2.json +++ b/internal/check/checkdata/schema/testdata/input/referenced-schema-2.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/referenced-schema-2.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/referenced-schema-2.json", "title": "Schema for use in unit tests", "definitions": { "minLengthObject": { diff --git a/check/checkdata/schema/testdata/input/schema-without-id.json b/internal/check/checkdata/schema/testdata/input/schema-without-id.json similarity index 100% rename from check/checkdata/schema/testdata/input/schema-without-id.json rename to internal/check/checkdata/schema/testdata/input/schema-without-id.json diff --git a/check/checkdata/schema/testdata/input/valid-schema-with-references.json b/internal/check/checkdata/schema/testdata/input/valid-schema-with-references.json similarity index 92% rename from check/checkdata/schema/testdata/input/valid-schema-with-references.json rename to internal/check/checkdata/schema/testdata/input/valid-schema-with-references.json index 4f7f5a4d..22de9432 100644 --- a/check/checkdata/schema/testdata/input/valid-schema-with-references.json +++ b/internal/check/checkdata/schema/testdata/input/valid-schema-with-references.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/schema-with-references.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/schema-with-references.json", "title": "Schema for use in unit tests", "type": "object", "properties": { diff --git a/check/checkdata/schema/testdata/input/valid-schema.json b/internal/check/checkdata/schema/testdata/input/valid-schema.json similarity index 76% rename from check/checkdata/schema/testdata/input/valid-schema.json rename to internal/check/checkdata/schema/testdata/input/valid-schema.json index ff30192f..1b8de3c2 100644 --- a/check/checkdata/schema/testdata/input/valid-schema.json +++ b/internal/check/checkdata/schema/testdata/input/valid-schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/check/checkdata/schema/testdata/schema-with-references.json", + "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/internal/check/checkdata/schema/testdata/schema-with-references.json", "title": "Schema for use in unit tests", "type": "object", "properties": { diff --git a/check/checkdata/schema/testdata/testdata.go b/internal/check/checkdata/schema/testdata/testdata.go similarity index 100% rename from check/checkdata/schema/testdata/testdata.go rename to internal/check/checkdata/schema/testdata/testdata.go diff --git a/check/checkdata/sketch.go b/internal/check/checkdata/sketch.go similarity index 97% rename from check/checkdata/sketch.go rename to internal/check/checkdata/sketch.go index 9c4ec38f..36b1e44d 100644 --- a/check/checkdata/sketch.go +++ b/internal/check/checkdata/sketch.go @@ -17,7 +17,7 @@ package checkdata import ( "github.com/arduino/arduino-cli/arduino/sketches" - "github.com/arduino/arduino-lint/project" + "github.com/arduino/arduino-lint/internal/project" ) // InitializeForSketch gathers the check data for the specified sketch project. diff --git a/check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json b/internal/check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json similarity index 100% rename from check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json rename to internal/check/checkdata/testdata/packageindexes/invalid-JSON/package_foo_index.json diff --git a/check/checkdata/testdata/packageindexes/invalid-package-index/package_foo_index.json b/internal/check/checkdata/testdata/packageindexes/invalid-package-index/package_foo_index.json similarity index 100% rename from check/checkdata/testdata/packageindexes/invalid-package-index/package_foo_index.json rename to internal/check/checkdata/testdata/packageindexes/invalid-package-index/package_foo_index.json diff --git a/check/checkdata/testdata/packageindexes/valid-package-index/package_foo_index.json b/internal/check/checkdata/testdata/packageindexes/valid-package-index/package_foo_index.json similarity index 100% rename from check/checkdata/testdata/packageindexes/valid-package-index/package_foo_index.json rename to internal/check/checkdata/testdata/packageindexes/valid-package-index/package_foo_index.json diff --git a/check/checkdata/testdata/platforms/invalid-boards.txt/boards.txt b/internal/check/checkdata/testdata/platforms/invalid-boards.txt/boards.txt similarity index 100% rename from check/checkdata/testdata/platforms/invalid-boards.txt/boards.txt rename to internal/check/checkdata/testdata/platforms/invalid-boards.txt/boards.txt diff --git a/check/checkdata/testdata/platforms/missing-boards.txt/.gitkeep b/internal/check/checkdata/testdata/platforms/missing-boards.txt/.gitkeep similarity index 100% rename from check/checkdata/testdata/platforms/missing-boards.txt/.gitkeep rename to internal/check/checkdata/testdata/platforms/missing-boards.txt/.gitkeep diff --git a/check/checkdata/testdata/platforms/valid-boards.txt/boards.txt b/internal/check/checkdata/testdata/platforms/valid-boards.txt/boards.txt similarity index 100% rename from check/checkdata/testdata/platforms/valid-boards.txt/boards.txt rename to internal/check/checkdata/testdata/platforms/valid-boards.txt/boards.txt diff --git a/check/checkfunctions/checkfunctions.go b/internal/check/checkfunctions/checkfunctions.go similarity index 97% rename from check/checkfunctions/checkfunctions.go rename to internal/check/checkfunctions/checkfunctions.go index 100259d8..d279e0b6 100644 --- a/check/checkfunctions/checkfunctions.go +++ b/internal/check/checkfunctions/checkfunctions.go @@ -22,9 +22,9 @@ import ( "regexp" "strings" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project/sketch" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project/sketch" "github.com/arduino/go-paths-helper" ) diff --git a/check/checkfunctions/checkfunctions_test.go b/internal/check/checkfunctions/checkfunctions_test.go similarity index 93% rename from check/checkfunctions/checkfunctions_test.go rename to internal/check/checkfunctions/checkfunctions_test.go index f79dffd1..2ce7831e 100644 --- a/check/checkfunctions/checkfunctions_test.go +++ b/internal/check/checkfunctions/checkfunctions_test.go @@ -20,10 +20,10 @@ import ( "regexp" "testing" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/check/checkfunctions/library.go b/internal/check/checkfunctions/library.go similarity index 99% rename from check/checkfunctions/library.go rename to internal/check/checkfunctions/library.go index 76dc092a..e9a84c2d 100644 --- a/check/checkfunctions/library.go +++ b/internal/check/checkfunctions/library.go @@ -26,12 +26,12 @@ import ( "github.com/arduino/arduino-cli/arduino/libraries" "github.com/arduino/arduino-cli/arduino/utils" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkdata/schema" - "github.com/arduino/arduino-lint/check/checkdata/schema/compliancelevel" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project/library" - "github.com/arduino/arduino-lint/project/sketch" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema/compliancelevel" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project/library" + "github.com/arduino/arduino-lint/internal/project/sketch" "github.com/go-git/go-git/v5" "github.com/go-git/go-git/v5/plumbing" "github.com/go-git/go-git/v5/plumbing/object" diff --git a/check/checkfunctions/library_test.go b/internal/check/checkfunctions/library_test.go similarity index 99% rename from check/checkfunctions/library_test.go rename to internal/check/checkfunctions/library_test.go index 933789ca..fbf58e78 100644 --- a/check/checkfunctions/library_test.go +++ b/internal/check/checkfunctions/library_test.go @@ -21,10 +21,10 @@ import ( "testing" "time" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/go-git/go-git/v5" "github.com/go-git/go-git/v5/plumbing/object" diff --git a/check/checkfunctions/packageindex.go b/internal/check/checkfunctions/packageindex.go similarity index 91% rename from check/checkfunctions/packageindex.go rename to internal/check/checkfunctions/packageindex.go index ac8c0ce5..cf06cdd3 100644 --- a/check/checkfunctions/packageindex.go +++ b/internal/check/checkfunctions/packageindex.go @@ -16,8 +16,8 @@ package checkfunctions import ( - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" ) // The check functions for package indexes. diff --git a/check/checkfunctions/packageindex_test.go b/internal/check/checkfunctions/packageindex_test.go similarity index 91% rename from check/checkfunctions/packageindex_test.go rename to internal/check/checkfunctions/packageindex_test.go index 96061c2f..74cb6a9f 100644 --- a/check/checkfunctions/packageindex_test.go +++ b/internal/check/checkfunctions/packageindex_test.go @@ -19,10 +19,10 @@ import ( "regexp" "testing" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/check/checkfunctions/platform.go b/internal/check/checkfunctions/platform.go similarity index 92% rename from check/checkfunctions/platform.go rename to internal/check/checkfunctions/platform.go index 5cc99238..9f11673d 100644 --- a/check/checkfunctions/platform.go +++ b/internal/check/checkfunctions/platform.go @@ -16,8 +16,8 @@ package checkfunctions import ( - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" ) // The check functions for platforms. diff --git a/check/checkfunctions/platform_test.go b/internal/check/checkfunctions/platform_test.go similarity index 91% rename from check/checkfunctions/platform_test.go rename to internal/check/checkfunctions/platform_test.go index 9d0fade6..c5735344 100644 --- a/check/checkfunctions/platform_test.go +++ b/internal/check/checkfunctions/platform_test.go @@ -19,10 +19,10 @@ import ( "regexp" "testing" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/check/checkfunctions/sketch.go b/internal/check/checkfunctions/sketch.go similarity index 96% rename from check/checkfunctions/sketch.go rename to internal/check/checkfunctions/sketch.go index 20851c60..04bb1e66 100644 --- a/check/checkfunctions/sketch.go +++ b/internal/check/checkfunctions/sketch.go @@ -21,9 +21,9 @@ import ( "strings" "github.com/arduino/arduino-cli/arduino/globals" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project/sketch" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project/sketch" ) // SketchNameMismatch checks for mismatch between sketch folder name and primary file name. diff --git a/check/checkfunctions/sketch_test.go b/internal/check/checkfunctions/sketch_test.go similarity index 94% rename from check/checkfunctions/sketch_test.go rename to internal/check/checkfunctions/sketch_test.go index 66b6b260..bc4886bd 100644 --- a/check/checkfunctions/sketch_test.go +++ b/internal/check/checkfunctions/sketch_test.go @@ -20,10 +20,10 @@ import ( "regexp" "testing" - "github.com/arduino/arduino-lint/check/checkdata" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/check/checkdata" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/check/checkfunctions/testdata/general/Arduino.h/foo.h b/internal/check/checkfunctions/testdata/general/Arduino.h/foo.h similarity index 100% rename from check/checkfunctions/testdata/general/Arduino.h/foo.h rename to internal/check/checkfunctions/testdata/general/Arduino.h/foo.h diff --git a/check/checkfunctions/testdata/general/arduino.h-angle/foo.h b/internal/check/checkfunctions/testdata/general/arduino.h-angle/foo.h similarity index 100% rename from check/checkfunctions/testdata/general/arduino.h-angle/foo.h rename to internal/check/checkfunctions/testdata/general/arduino.h-angle/foo.h diff --git a/check/checkfunctions/testdata/general/arduino.h-quote/foo.h b/internal/check/checkfunctions/testdata/general/arduino.h-quote/foo.h similarity index 100% rename from check/checkfunctions/testdata/general/arduino.h-quote/foo.h rename to internal/check/checkfunctions/testdata/general/arduino.h-quote/foo.h diff --git a/check/checkfunctions/testdata/general/license-file-in-subfolder/subfolder/LICENSE b/internal/check/checkfunctions/testdata/general/license-file-in-subfolder/subfolder/LICENSE similarity index 100% rename from check/checkfunctions/testdata/general/license-file-in-subfolder/subfolder/LICENSE rename to internal/check/checkfunctions/testdata/general/license-file-in-subfolder/subfolder/LICENSE diff --git a/check/checkfunctions/testdata/general/license-file/LICENSE b/internal/check/checkfunctions/testdata/general/license-file/LICENSE similarity index 100% rename from check/checkfunctions/testdata/general/license-file/LICENSE rename to internal/check/checkfunctions/testdata/general/license-file/LICENSE diff --git a/check/checkfunctions/testdata/general/no-license-file/.gitkeep b/internal/check/checkfunctions/testdata/general/no-license-file/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/general/no-license-file/.gitkeep rename to internal/check/checkfunctions/testdata/general/no-license-file/.gitkeep diff --git a/check/checkfunctions/testdata/general/no-readme/.gitkeep b/internal/check/checkfunctions/testdata/general/no-readme/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/general/no-readme/.gitkeep rename to internal/check/checkfunctions/testdata/general/no-readme/.gitkeep diff --git a/check/checkfunctions/testdata/general/readme/README.md b/internal/check/checkfunctions/testdata/general/readme/README.md similarity index 100% rename from check/checkfunctions/testdata/general/readme/README.md rename to internal/check/checkfunctions/testdata/general/readme/README.md diff --git a/check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/library.properties b/internal/check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/library.properties rename to internal/check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/library.properties diff --git a/check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/src/ArchitectureAliasSolo.h b/internal/check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/src/ArchitectureAliasSolo.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/src/ArchitectureAliasSolo.h rename to internal/check/checkfunctions/testdata/libraries/ArchitectureAliasSolo/src/ArchitectureAliasSolo.h diff --git a/check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/library.properties b/internal/check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/library.properties rename to internal/check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/library.properties diff --git a/check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/src/ArchitectureAliasWithTrue.h b/internal/check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/src/ArchitectureAliasWithTrue.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/src/ArchitectureAliasWithTrue.h rename to internal/check/checkfunctions/testdata/libraries/ArchitectureAliasWithTrue/src/ArchitectureAliasWithTrue.h diff --git a/check/checkfunctions/testdata/libraries/ArchitectureMiscased/library.properties b/internal/check/checkfunctions/testdata/libraries/ArchitectureMiscased/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureMiscased/library.properties rename to internal/check/checkfunctions/testdata/libraries/ArchitectureMiscased/library.properties diff --git a/check/checkfunctions/testdata/libraries/ArchitectureMiscased/src/ArchitectureMiscased.h b/internal/check/checkfunctions/testdata/libraries/ArchitectureMiscased/src/ArchitectureMiscased.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureMiscased/src/ArchitectureMiscased.h rename to internal/check/checkfunctions/testdata/libraries/ArchitectureMiscased/src/ArchitectureMiscased.h diff --git a/check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/library.properties b/internal/check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/library.properties rename to internal/check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/library.properties diff --git a/check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/src/ArchitectureMiscasedWithCorrect.h b/internal/check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/src/ArchitectureMiscasedWithCorrect.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/src/ArchitectureMiscasedWithCorrect.h rename to internal/check/checkfunctions/testdata/libraries/ArchitectureMiscasedWithCorrect/src/ArchitectureMiscasedWithCorrect.h diff --git a/check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/src/ArchitecturesLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/src/ArchitecturesLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/src/ArchitecturesLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/ArchitecturesLTMinLength/src/ArchitecturesLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/Arduino_Official/library.properties b/internal/check/checkfunctions/testdata/libraries/Arduino_Official/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Arduino_Official/library.properties rename to internal/check/checkfunctions/testdata/libraries/Arduino_Official/library.properties diff --git a/check/checkfunctions/testdata/libraries/Arduino_Official/src/Arduino_Official.h b/internal/check/checkfunctions/testdata/libraries/Arduino_Official/src/Arduino_Official.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Arduino_Official/src/Arduino_Official.h rename to internal/check/checkfunctions/testdata/libraries/Arduino_Official/src/Arduino_Official.h diff --git a/check/checkfunctions/testdata/libraries/AuthorLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/AuthorLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/AuthorLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/AuthorLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/AuthorLTMinLength/src/AuthorLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/AuthorLTMinLength/src/AuthorLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/AuthorLTMinLength/src/AuthorLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/AuthorLTMinLength/src/AuthorLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/BadURL/library.properties b/internal/check/checkfunctions/testdata/libraries/BadURL/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/BadURL/library.properties rename to internal/check/checkfunctions/testdata/libraries/BadURL/library.properties diff --git a/check/checkfunctions/testdata/libraries/BadURL/src/BadURL.h b/internal/check/checkfunctions/testdata/libraries/BadURL/src/BadURL.h similarity index 100% rename from check/checkfunctions/testdata/libraries/BadURL/src/BadURL.h rename to internal/check/checkfunctions/testdata/libraries/BadURL/src/BadURL.h diff --git a/check/checkfunctions/testdata/libraries/CategoryInvalid/library.properties b/internal/check/checkfunctions/testdata/libraries/CategoryInvalid/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/CategoryInvalid/library.properties rename to internal/check/checkfunctions/testdata/libraries/CategoryInvalid/library.properties diff --git a/check/checkfunctions/testdata/libraries/CategoryInvalid/src/CategoryInvalid.h b/internal/check/checkfunctions/testdata/libraries/CategoryInvalid/src/CategoryInvalid.h similarity index 100% rename from check/checkfunctions/testdata/libraries/CategoryInvalid/src/CategoryInvalid.h rename to internal/check/checkfunctions/testdata/libraries/CategoryInvalid/src/CategoryInvalid.h diff --git a/check/checkfunctions/testdata/libraries/DependsEmpty/library.properties b/internal/check/checkfunctions/testdata/libraries/DependsEmpty/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsEmpty/library.properties rename to internal/check/checkfunctions/testdata/libraries/DependsEmpty/library.properties diff --git a/check/checkfunctions/testdata/libraries/DependsEmpty/src/DependsEmpty.h b/internal/check/checkfunctions/testdata/libraries/DependsEmpty/src/DependsEmpty.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsEmpty/src/DependsEmpty.h rename to internal/check/checkfunctions/testdata/libraries/DependsEmpty/src/DependsEmpty.h diff --git a/check/checkfunctions/testdata/libraries/DependsFieldMisspelled/library.properties b/internal/check/checkfunctions/testdata/libraries/DependsFieldMisspelled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsFieldMisspelled/library.properties rename to internal/check/checkfunctions/testdata/libraries/DependsFieldMisspelled/library.properties diff --git a/check/checkfunctions/testdata/libraries/DependsFieldMisspelled/src/DependsFieldMisspelled.h b/internal/check/checkfunctions/testdata/libraries/DependsFieldMisspelled/src/DependsFieldMisspelled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsFieldMisspelled/src/DependsFieldMisspelled.h rename to internal/check/checkfunctions/testdata/libraries/DependsFieldMisspelled/src/DependsFieldMisspelled.h diff --git a/check/checkfunctions/testdata/libraries/DependsHasBadChars/library.properties b/internal/check/checkfunctions/testdata/libraries/DependsHasBadChars/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsHasBadChars/library.properties rename to internal/check/checkfunctions/testdata/libraries/DependsHasBadChars/library.properties diff --git a/check/checkfunctions/testdata/libraries/DependsHasBadChars/src/DependsHasBadChars.h b/internal/check/checkfunctions/testdata/libraries/DependsHasBadChars/src/DependsHasBadChars.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsHasBadChars/src/DependsHasBadChars.h rename to internal/check/checkfunctions/testdata/libraries/DependsHasBadChars/src/DependsHasBadChars.h diff --git a/check/checkfunctions/testdata/libraries/DependsIndexed/library.properties b/internal/check/checkfunctions/testdata/libraries/DependsIndexed/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsIndexed/library.properties rename to internal/check/checkfunctions/testdata/libraries/DependsIndexed/library.properties diff --git a/check/checkfunctions/testdata/libraries/DependsIndexed/src/DependsIndexed.h b/internal/check/checkfunctions/testdata/libraries/DependsIndexed/src/DependsIndexed.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsIndexed/src/DependsIndexed.h rename to internal/check/checkfunctions/testdata/libraries/DependsIndexed/src/DependsIndexed.h diff --git a/check/checkfunctions/testdata/libraries/DependsNotIndexed/library.properties b/internal/check/checkfunctions/testdata/libraries/DependsNotIndexed/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsNotIndexed/library.properties rename to internal/check/checkfunctions/testdata/libraries/DependsNotIndexed/library.properties diff --git a/check/checkfunctions/testdata/libraries/DependsNotIndexed/src/DependsNotIndexed.h b/internal/check/checkfunctions/testdata/libraries/DependsNotIndexed/src/DependsNotIndexed.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DependsNotIndexed/src/DependsNotIndexed.h rename to internal/check/checkfunctions/testdata/libraries/DependsNotIndexed/src/DependsNotIndexed.h diff --git a/check/checkfunctions/testdata/libraries/DotALinkage/library.properties b/internal/check/checkfunctions/testdata/libraries/DotALinkage/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkage/library.properties rename to internal/check/checkfunctions/testdata/libraries/DotALinkage/library.properties diff --git a/check/checkfunctions/testdata/libraries/DotALinkage/src/DotALinkage.h b/internal/check/checkfunctions/testdata/libraries/DotALinkage/src/DotALinkage.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkage/src/DotALinkage.h rename to internal/check/checkfunctions/testdata/libraries/DotALinkage/src/DotALinkage.h diff --git a/check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/library.properties b/internal/check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/library.properties rename to internal/check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/library.properties diff --git a/check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/src/DotALinkageFieldMisspelled.h b/internal/check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/src/DotALinkageFieldMisspelled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/src/DotALinkageFieldMisspelled.h rename to internal/check/checkfunctions/testdata/libraries/DotALinkageFieldMisspelled/src/DotALinkageFieldMisspelled.h diff --git a/check/checkfunctions/testdata/libraries/DotALinkageFlat/DotALinkageFlat.h b/internal/check/checkfunctions/testdata/libraries/DotALinkageFlat/DotALinkageFlat.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkageFlat/DotALinkageFlat.h rename to internal/check/checkfunctions/testdata/libraries/DotALinkageFlat/DotALinkageFlat.h diff --git a/check/checkfunctions/testdata/libraries/DotALinkageFlat/library.properties b/internal/check/checkfunctions/testdata/libraries/DotALinkageFlat/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkageFlat/library.properties rename to internal/check/checkfunctions/testdata/libraries/DotALinkageFlat/library.properties diff --git a/check/checkfunctions/testdata/libraries/DotALinkageInvalid/library.properties b/internal/check/checkfunctions/testdata/libraries/DotALinkageInvalid/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkageInvalid/library.properties rename to internal/check/checkfunctions/testdata/libraries/DotALinkageInvalid/library.properties diff --git a/check/checkfunctions/testdata/libraries/DotALinkageInvalid/src/DotALinkageInvalid.h b/internal/check/checkfunctions/testdata/libraries/DotALinkageInvalid/src/DotALinkageInvalid.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DotALinkageInvalid/src/DotALinkageInvalid.h rename to internal/check/checkfunctions/testdata/libraries/DotALinkageInvalid/src/DotALinkageInvalid.h diff --git a/check/checkfunctions/testdata/libraries/DotDevelopment/.development b/internal/check/checkfunctions/testdata/libraries/DotDevelopment/.development similarity index 100% rename from check/checkfunctions/testdata/libraries/DotDevelopment/.development rename to internal/check/checkfunctions/testdata/libraries/DotDevelopment/.development diff --git a/check/checkfunctions/testdata/libraries/DotDevelopment/library.properties b/internal/check/checkfunctions/testdata/libraries/DotDevelopment/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/DotDevelopment/library.properties rename to internal/check/checkfunctions/testdata/libraries/DotDevelopment/library.properties diff --git a/check/checkfunctions/testdata/libraries/DotDevelopment/src/DotDevelopment.h b/internal/check/checkfunctions/testdata/libraries/DotDevelopment/src/DotDevelopment.h similarity index 100% rename from check/checkfunctions/testdata/libraries/DotDevelopment/src/DotDevelopment.h rename to internal/check/checkfunctions/testdata/libraries/DotDevelopment/src/DotDevelopment.h diff --git a/check/checkfunctions/testdata/libraries/EmailAndMaintainer/library.properties b/internal/check/checkfunctions/testdata/libraries/EmailAndMaintainer/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailAndMaintainer/library.properties rename to internal/check/checkfunctions/testdata/libraries/EmailAndMaintainer/library.properties diff --git a/check/checkfunctions/testdata/libraries/EmailAndMaintainer/src/EmailAndMaintainer.h b/internal/check/checkfunctions/testdata/libraries/EmailAndMaintainer/src/EmailAndMaintainer.h similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailAndMaintainer/src/EmailAndMaintainer.h rename to internal/check/checkfunctions/testdata/libraries/EmailAndMaintainer/src/EmailAndMaintainer.h diff --git a/check/checkfunctions/testdata/libraries/EmailLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/EmailLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/EmailLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/EmailLTMinLength/src/EmailLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/EmailLTMinLength/src/EmailLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailLTMinLength/src/EmailLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/EmailLTMinLength/src/EmailLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/EmailOnly/library.properties b/internal/check/checkfunctions/testdata/libraries/EmailOnly/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailOnly/library.properties rename to internal/check/checkfunctions/testdata/libraries/EmailOnly/library.properties diff --git a/check/checkfunctions/testdata/libraries/EmailOnly/src/EmailOnly.h b/internal/check/checkfunctions/testdata/libraries/EmailOnly/src/EmailOnly.h similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailOnly/src/EmailOnly.h rename to internal/check/checkfunctions/testdata/libraries/EmailOnly/src/EmailOnly.h diff --git a/check/checkfunctions/testdata/libraries/EmailStartsWithArduino/library.properties b/internal/check/checkfunctions/testdata/libraries/EmailStartsWithArduino/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailStartsWithArduino/library.properties rename to internal/check/checkfunctions/testdata/libraries/EmailStartsWithArduino/library.properties diff --git a/check/checkfunctions/testdata/libraries/EmailStartsWithArduino/src/EmailStartsWithArduino.h b/internal/check/checkfunctions/testdata/libraries/EmailStartsWithArduino/src/EmailStartsWithArduino.h similarity index 100% rename from check/checkfunctions/testdata/libraries/EmailStartsWithArduino/src/EmailStartsWithArduino.h rename to internal/check/checkfunctions/testdata/libraries/EmailStartsWithArduino/src/EmailStartsWithArduino.h diff --git a/check/checkfunctions/testdata/libraries/ExampleFolder/example/Example/Example.ino b/internal/check/checkfunctions/testdata/libraries/ExampleFolder/example/Example/Example.ino similarity index 100% rename from check/checkfunctions/testdata/libraries/ExampleFolder/example/Example/Example.ino rename to internal/check/checkfunctions/testdata/libraries/ExampleFolder/example/Example/Example.ino diff --git a/check/checkfunctions/testdata/libraries/ExampleFolder/library.properties b/internal/check/checkfunctions/testdata/libraries/ExampleFolder/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ExampleFolder/library.properties rename to internal/check/checkfunctions/testdata/libraries/ExampleFolder/library.properties diff --git a/check/checkfunctions/testdata/libraries/ExampleFolder/src/ExampleFolder.h b/internal/check/checkfunctions/testdata/libraries/ExampleFolder/src/ExampleFolder.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ExampleFolder/src/ExampleFolder.h rename to internal/check/checkfunctions/testdata/libraries/ExampleFolder/src/ExampleFolder.h diff --git a/check/checkfunctions/testdata/libraries/ExamplesFolder/examples/Example/Example.ino b/internal/check/checkfunctions/testdata/libraries/ExamplesFolder/examples/Example/Example.ino similarity index 100% rename from check/checkfunctions/testdata/libraries/ExamplesFolder/examples/Example/Example.ino rename to internal/check/checkfunctions/testdata/libraries/ExamplesFolder/examples/Example/Example.ino diff --git a/check/checkfunctions/testdata/libraries/ExamplesFolder/library.properties b/internal/check/checkfunctions/testdata/libraries/ExamplesFolder/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ExamplesFolder/library.properties rename to internal/check/checkfunctions/testdata/libraries/ExamplesFolder/library.properties diff --git a/check/checkfunctions/testdata/libraries/ExamplesFolder/src/ExamplesFolder.h b/internal/check/checkfunctions/testdata/libraries/ExamplesFolder/src/ExamplesFolder.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ExamplesFolder/src/ExamplesFolder.h rename to internal/check/checkfunctions/testdata/libraries/ExamplesFolder/src/ExamplesFolder.h diff --git a/check/checkfunctions/testdata/libraries/Exe/foo.exe b/internal/check/checkfunctions/testdata/libraries/Exe/foo.exe similarity index 100% rename from check/checkfunctions/testdata/libraries/Exe/foo.exe rename to internal/check/checkfunctions/testdata/libraries/Exe/foo.exe diff --git a/check/checkfunctions/testdata/libraries/Exe/library.properties b/internal/check/checkfunctions/testdata/libraries/Exe/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Exe/library.properties rename to internal/check/checkfunctions/testdata/libraries/Exe/library.properties diff --git a/check/checkfunctions/testdata/libraries/Exe/src/Exe.h b/internal/check/checkfunctions/testdata/libraries/Exe/src/Exe.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Exe/src/Exe.h rename to internal/check/checkfunctions/testdata/libraries/Exe/src/Exe.h diff --git a/check/checkfunctions/testdata/libraries/ExtrasFolder/extras/.gitkeep b/internal/check/checkfunctions/testdata/libraries/ExtrasFolder/extras/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/libraries/ExtrasFolder/extras/.gitkeep rename to internal/check/checkfunctions/testdata/libraries/ExtrasFolder/extras/.gitkeep diff --git a/check/checkfunctions/testdata/libraries/ExtrasFolder/library.properties b/internal/check/checkfunctions/testdata/libraries/ExtrasFolder/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ExtrasFolder/library.properties rename to internal/check/checkfunctions/testdata/libraries/ExtrasFolder/library.properties diff --git a/check/checkfunctions/testdata/libraries/ExtrasFolder/src/ExtrasFolder.h b/internal/check/checkfunctions/testdata/libraries/ExtrasFolder/src/ExtrasFolder.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ExtrasFolder/src/ExtrasFolder.h rename to internal/check/checkfunctions/testdata/libraries/ExtrasFolder/src/ExtrasFolder.h diff --git a/check/checkfunctions/testdata/libraries/Flat/Flat.h b/internal/check/checkfunctions/testdata/libraries/Flat/Flat.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Flat/Flat.h rename to internal/check/checkfunctions/testdata/libraries/Flat/Flat.h diff --git a/check/checkfunctions/testdata/libraries/Flat/library.properties b/internal/check/checkfunctions/testdata/libraries/Flat/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Flat/library.properties rename to internal/check/checkfunctions/testdata/libraries/Flat/library.properties diff --git a/check/checkfunctions/testdata/libraries/FlatWithoutHeader/FlatWithoutHeader.cpp b/internal/check/checkfunctions/testdata/libraries/FlatWithoutHeader/FlatWithoutHeader.cpp similarity index 100% rename from check/checkfunctions/testdata/libraries/FlatWithoutHeader/FlatWithoutHeader.cpp rename to internal/check/checkfunctions/testdata/libraries/FlatWithoutHeader/FlatWithoutHeader.cpp diff --git a/check/checkfunctions/testdata/libraries/FlatWithoutHeader/library.properties b/internal/check/checkfunctions/testdata/libraries/FlatWithoutHeader/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/FlatWithoutHeader/library.properties rename to internal/check/checkfunctions/testdata/libraries/FlatWithoutHeader/library.properties diff --git a/check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/library.properties b/internal/check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/library.properties rename to internal/check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/library.properties diff --git a/check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/src/FolderNameTooLong.h b/internal/check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/src/FolderNameTooLong.h similarity index 100% rename from check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/src/FolderNameTooLong.h rename to internal/check/checkfunctions/testdata/libraries/FolderNameTooLong12345678901234567890123456789012345678901234567890/src/FolderNameTooLong.h diff --git a/check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/library.properties b/internal/check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/library.properties rename to internal/check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/library.properties diff --git a/check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/src/IncludesFieldMisspelled.h b/internal/check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/src/IncludesFieldMisspelled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/src/IncludesFieldMisspelled.h rename to internal/check/checkfunctions/testdata/libraries/IncludesFieldMisspelled/src/IncludesFieldMisspelled.h diff --git a/check/checkfunctions/testdata/libraries/IncludesLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/IncludesLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/IncludesLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/IncludesLTMinLength/src/IncludesLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/IncludesLTMinLength/src/IncludesLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesLTMinLength/src/IncludesLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/IncludesLTMinLength/src/IncludesLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/IncludesListSkip/library.properties b/internal/check/checkfunctions/testdata/libraries/IncludesListSkip/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesListSkip/library.properties rename to internal/check/checkfunctions/testdata/libraries/IncludesListSkip/library.properties diff --git a/check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip1.h b/internal/check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip1.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip1.h rename to internal/check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip1.h diff --git a/check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip2.h b/internal/check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip2.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip2.h rename to internal/check/checkfunctions/testdata/libraries/IncludesListSkip/src/IncludesListSkip2.h diff --git a/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/Examples/.gitkeep b/internal/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/Examples/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/Examples/.gitkeep rename to internal/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/Examples/.gitkeep diff --git a/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/library.properties b/internal/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/library.properties rename to internal/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/library.properties diff --git a/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/src/IncorrectExamplesFolderCase.h b/internal/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/src/IncorrectExamplesFolderCase.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/src/IncorrectExamplesFolderCase.h rename to internal/check/checkfunctions/testdata/libraries/IncorrectExamplesFolderCase/src/IncorrectExamplesFolderCase.h diff --git a/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/EXTRAS/.gitkeep b/internal/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/EXTRAS/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/EXTRAS/.gitkeep rename to internal/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/EXTRAS/.gitkeep diff --git a/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/library.properties b/internal/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/library.properties rename to internal/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/library.properties diff --git a/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/src/IncorrectExtrasFolderCase.h b/internal/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/src/IncorrectExtrasFolderCase.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/src/IncorrectExtrasFolderCase.h rename to internal/check/checkfunctions/testdata/libraries/IncorrectExtrasFolderCase/src/IncorrectExtrasFolderCase.h diff --git a/check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/Library.properties b/internal/check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/Library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/Library.properties rename to internal/check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/Library.properties diff --git a/check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/src/IncorrectLibraryPropertiesCase.h b/internal/check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/src/IncorrectLibraryPropertiesCase.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/src/IncorrectLibraryPropertiesCase.h rename to internal/check/checkfunctions/testdata/libraries/IncorrectLibraryPropertiesCase/src/IncorrectLibraryPropertiesCase.h diff --git a/check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/SRC/IncorrectSrcFolderNameCase.h b/internal/check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/SRC/IncorrectSrcFolderNameCase.h similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/SRC/IncorrectSrcFolderNameCase.h rename to internal/check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/SRC/IncorrectSrcFolderNameCase.h diff --git a/check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/library.properties b/internal/check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/library.properties rename to internal/check/checkfunctions/testdata/libraries/IncorrectSrcFolderNameCase/library.properties diff --git a/check/checkfunctions/testdata/libraries/Indexed/library.properties b/internal/check/checkfunctions/testdata/libraries/Indexed/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Indexed/library.properties rename to internal/check/checkfunctions/testdata/libraries/Indexed/library.properties diff --git a/check/checkfunctions/testdata/libraries/Indexed/src/Indexed.h b/internal/check/checkfunctions/testdata/libraries/Indexed/src/Indexed.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Indexed/src/Indexed.h rename to internal/check/checkfunctions/testdata/libraries/Indexed/src/Indexed.h diff --git a/check/checkfunctions/testdata/libraries/InvalidLibraryProperties/library.properties b/internal/check/checkfunctions/testdata/libraries/InvalidLibraryProperties/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/InvalidLibraryProperties/library.properties rename to internal/check/checkfunctions/testdata/libraries/InvalidLibraryProperties/library.properties diff --git a/check/checkfunctions/testdata/libraries/InvalidLibraryProperties/src/InvalidLibraryProperties.h b/internal/check/checkfunctions/testdata/libraries/InvalidLibraryProperties/src/InvalidLibraryProperties.h similarity index 100% rename from check/checkfunctions/testdata/libraries/InvalidLibraryProperties/src/InvalidLibraryProperties.h rename to internal/check/checkfunctions/testdata/libraries/InvalidLibraryProperties/src/InvalidLibraryProperties.h diff --git a/check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/library.properties b/internal/check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/library.properties rename to internal/check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/library.properties diff --git a/check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/src/LdflagsFieldMisspelled.h b/internal/check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/src/LdflagsFieldMisspelled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/src/LdflagsFieldMisspelled.h rename to internal/check/checkfunctions/testdata/libraries/LdflagsFieldMisspelled/src/LdflagsFieldMisspelled.h diff --git a/check/checkfunctions/testdata/libraries/LdflagsLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/LdflagsLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/LdflagsLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/LdflagsLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/LdflagsLTMinLength/src/LdflagsLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/LdflagsLTMinLength/src/LdflagsLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/LdflagsLTMinLength/src/LdflagsLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/LdflagsLTMinLength/src/LdflagsLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/LdflagsValid/library.properties b/internal/check/checkfunctions/testdata/libraries/LdflagsValid/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/LdflagsValid/library.properties rename to internal/check/checkfunctions/testdata/libraries/LdflagsValid/library.properties diff --git a/check/checkfunctions/testdata/libraries/LdflagsValid/src/LdflagsValid.h b/internal/check/checkfunctions/testdata/libraries/LdflagsValid/src/LdflagsValid.h similarity index 100% rename from check/checkfunctions/testdata/libraries/LdflagsValid/src/LdflagsValid.h rename to internal/check/checkfunctions/testdata/libraries/LdflagsValid/src/LdflagsValid.h diff --git a/check/checkfunctions/testdata/libraries/Legacy/Legacy.h b/internal/check/checkfunctions/testdata/libraries/Legacy/Legacy.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Legacy/Legacy.h rename to internal/check/checkfunctions/testdata/libraries/Legacy/Legacy.h diff --git a/check/checkfunctions/testdata/libraries/MaintainerLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/MaintainerLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MaintainerLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/MaintainerLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/MaintainerLTMinLength/src/MaintainerLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/MaintainerLTMinLength/src/MaintainerLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MaintainerLTMinLength/src/MaintainerLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/MaintainerLTMinLength/src/MaintainerLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/library.properties b/internal/check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/library.properties rename to internal/check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/library.properties diff --git a/check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/src/MaintainerStartsWithArduino.h b/internal/check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/src/MaintainerStartsWithArduino.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/src/MaintainerStartsWithArduino.h rename to internal/check/checkfunctions/testdata/libraries/MaintainerStartsWithArduino/src/MaintainerStartsWithArduino.h diff --git a/check/checkfunctions/testdata/libraries/MissingFields/library.properties b/internal/check/checkfunctions/testdata/libraries/MissingFields/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MissingFields/library.properties rename to internal/check/checkfunctions/testdata/libraries/MissingFields/library.properties diff --git a/check/checkfunctions/testdata/libraries/MissingFields/src/MissingFields.h b/internal/check/checkfunctions/testdata/libraries/MissingFields/src/MissingFields.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MissingFields/src/MissingFields.h rename to internal/check/checkfunctions/testdata/libraries/MissingFields/src/MissingFields.h diff --git a/check/checkfunctions/testdata/libraries/MissingIncludes/library.properties b/internal/check/checkfunctions/testdata/libraries/MissingIncludes/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MissingIncludes/library.properties rename to internal/check/checkfunctions/testdata/libraries/MissingIncludes/library.properties diff --git a/check/checkfunctions/testdata/libraries/MissingIncludes/src/MissingIncludes.h b/internal/check/checkfunctions/testdata/libraries/MissingIncludes/src/MissingIncludes.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MissingIncludes/src/MissingIncludes.h rename to internal/check/checkfunctions/testdata/libraries/MissingIncludes/src/MissingIncludes.h diff --git a/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/example/Example/Example.ino b/internal/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/example/Example/Example.ino similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/example/Example/Example.ino rename to internal/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/example/Example/Example.ino diff --git a/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/library.properties b/internal/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/library.properties rename to internal/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/library.properties diff --git a/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/src/MisspelledExamplesFolder.h b/internal/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/src/MisspelledExamplesFolder.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/src/MisspelledExamplesFolder.h rename to internal/check/checkfunctions/testdata/libraries/MisspelledExamplesFolder/src/MisspelledExamplesFolder.h diff --git a/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/extra/.gitkeep b/internal/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/extra/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/extra/.gitkeep rename to internal/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/extra/.gitkeep diff --git a/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/library.properties b/internal/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/library.properties rename to internal/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/library.properties diff --git a/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/src/MisspelledExtrasFolder.h b/internal/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/src/MisspelledExtrasFolder.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/src/MisspelledExtrasFolder.h rename to internal/check/checkfunctions/testdata/libraries/MisspelledExtrasFolder/src/MisspelledExtrasFolder.h diff --git a/check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/libraries.properties b/internal/check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/libraries.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/libraries.properties rename to internal/check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/libraries.properties diff --git a/check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/src/MisspelledLibraryProperties.h b/internal/check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/src/MisspelledLibraryProperties.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/src/MisspelledLibraryProperties.h rename to internal/check/checkfunctions/testdata/libraries/MisspelledLibraryProperties/src/MisspelledLibraryProperties.h diff --git a/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/library.properties b/internal/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/library.properties rename to internal/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/library.properties diff --git a/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/src/MisspelledSentenceParagraphValue.h b/internal/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/src/MisspelledSentenceParagraphValue.h similarity index 100% rename from check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/src/MisspelledSentenceParagraphValue.h rename to internal/check/checkfunctions/testdata/libraries/MisspelledSentenceParagraphValue/src/MisspelledSentenceParagraphValue.h diff --git a/check/checkfunctions/testdata/libraries/NameContainsArduino/library.properties b/internal/check/checkfunctions/testdata/libraries/NameContainsArduino/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameContainsArduino/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameContainsArduino/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameContainsArduino/src/NameContainsArduino.h b/internal/check/checkfunctions/testdata/libraries/NameContainsArduino/src/NameContainsArduino.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameContainsArduino/src/NameContainsArduino.h rename to internal/check/checkfunctions/testdata/libraries/NameContainsArduino/src/NameContainsArduino.h diff --git a/check/checkfunctions/testdata/libraries/NameGTMaxLength/library.properties b/internal/check/checkfunctions/testdata/libraries/NameGTMaxLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameGTMaxLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameGTMaxLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameGTMaxLength/src/NameGTMaxLength.h b/internal/check/checkfunctions/testdata/libraries/NameGTMaxLength/src/NameGTMaxLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameGTMaxLength/src/NameGTMaxLength.h rename to internal/check/checkfunctions/testdata/libraries/NameGTMaxLength/src/NameGTMaxLength.h diff --git a/check/checkfunctions/testdata/libraries/NameGTRecommendedLength/library.properties b/internal/check/checkfunctions/testdata/libraries/NameGTRecommendedLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameGTRecommendedLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameGTRecommendedLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameGTRecommendedLength/src/NameGTRecommendedLength.h b/internal/check/checkfunctions/testdata/libraries/NameGTRecommendedLength/src/NameGTRecommendedLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameGTRecommendedLength/src/NameGTRecommendedLength.h rename to internal/check/checkfunctions/testdata/libraries/NameGTRecommendedLength/src/NameGTRecommendedLength.h diff --git a/check/checkfunctions/testdata/libraries/NameHasBadChars/library.properties b/internal/check/checkfunctions/testdata/libraries/NameHasBadChars/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHasBadChars/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameHasBadChars/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameHasBadChars/src/NameHasBadChars.h b/internal/check/checkfunctions/testdata/libraries/NameHasBadChars/src/NameHasBadChars.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHasBadChars/src/NameHasBadChars.h rename to internal/check/checkfunctions/testdata/libraries/NameHasBadChars/src/NameHasBadChars.h diff --git a/check/checkfunctions/testdata/libraries/NameHasLibrary/library.properties b/internal/check/checkfunctions/testdata/libraries/NameHasLibrary/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHasLibrary/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameHasLibrary/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameHasLibrary/src/NameHasLibrary.h b/internal/check/checkfunctions/testdata/libraries/NameHasLibrary/src/NameHasLibrary.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHasLibrary/src/NameHasLibrary.h rename to internal/check/checkfunctions/testdata/libraries/NameHasLibrary/src/NameHasLibrary.h diff --git a/check/checkfunctions/testdata/libraries/NameHasSpaces/library.properties b/internal/check/checkfunctions/testdata/libraries/NameHasSpaces/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHasSpaces/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameHasSpaces/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameHasSpaces/src/NameHasSpaces.h b/internal/check/checkfunctions/testdata/libraries/NameHasSpaces/src/NameHasSpaces.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHasSpaces/src/NameHasSpaces.h rename to internal/check/checkfunctions/testdata/libraries/NameHasSpaces/src/NameHasSpaces.h diff --git a/check/checkfunctions/testdata/libraries/NameHeaderMismatch/library.properties b/internal/check/checkfunctions/testdata/libraries/NameHeaderMismatch/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHeaderMismatch/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameHeaderMismatch/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameHeaderMismatch/src/NotNameHeaderMismatch.h b/internal/check/checkfunctions/testdata/libraries/NameHeaderMismatch/src/NotNameHeaderMismatch.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameHeaderMismatch/src/NotNameHeaderMismatch.h rename to internal/check/checkfunctions/testdata/libraries/NameHeaderMismatch/src/NotNameHeaderMismatch.h diff --git a/check/checkfunctions/testdata/libraries/NameLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/NameLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NameLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/NameLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/NameLTMinLength/src/NameLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/NameLTMinLength/src/NameLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NameLTMinLength/src/NameLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/NameLTMinLength/src/NameLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/NoDepends/library.properties b/internal/check/checkfunctions/testdata/libraries/NoDepends/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NoDepends/library.properties rename to internal/check/checkfunctions/testdata/libraries/NoDepends/library.properties diff --git a/check/checkfunctions/testdata/libraries/NoDepends/src/NoDepends.h b/internal/check/checkfunctions/testdata/libraries/NoDepends/src/NoDepends.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NoDepends/src/NoDepends.h rename to internal/check/checkfunctions/testdata/libraries/NoDepends/src/NoDepends.h diff --git a/check/checkfunctions/testdata/libraries/NoExamples/library.properties b/internal/check/checkfunctions/testdata/libraries/NoExamples/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NoExamples/library.properties rename to internal/check/checkfunctions/testdata/libraries/NoExamples/library.properties diff --git a/check/checkfunctions/testdata/libraries/NoExamples/src/NoExamples.h b/internal/check/checkfunctions/testdata/libraries/NoExamples/src/NoExamples.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NoExamples/src/NoExamples.h rename to internal/check/checkfunctions/testdata/libraries/NoExamples/src/NoExamples.h diff --git a/check/checkfunctions/testdata/libraries/NotIndexed/library.properties b/internal/check/checkfunctions/testdata/libraries/NotIndexed/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NotIndexed/library.properties rename to internal/check/checkfunctions/testdata/libraries/NotIndexed/library.properties diff --git a/check/checkfunctions/testdata/libraries/NotIndexed/src/NotIndexed.h b/internal/check/checkfunctions/testdata/libraries/NotIndexed/src/NotIndexed.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NotIndexed/src/NotIndexed.h rename to internal/check/checkfunctions/testdata/libraries/NotIndexed/src/NotIndexed.h diff --git a/check/checkfunctions/testdata/libraries/NotPrecompiled/library.properties b/internal/check/checkfunctions/testdata/libraries/NotPrecompiled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/NotPrecompiled/library.properties rename to internal/check/checkfunctions/testdata/libraries/NotPrecompiled/library.properties diff --git a/check/checkfunctions/testdata/libraries/NotPrecompiled/src/NotPrecompiled.h b/internal/check/checkfunctions/testdata/libraries/NotPrecompiled/src/NotPrecompiled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/NotPrecompiled/src/NotPrecompiled.h rename to internal/check/checkfunctions/testdata/libraries/NotPrecompiled/src/NotPrecompiled.h diff --git a/check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/library.properties b/internal/check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/library.properties rename to internal/check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/library.properties diff --git a/check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/src/ParagraphRepeatsSentence.h b/internal/check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/src/ParagraphRepeatsSentence.h similarity index 100% rename from check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/src/ParagraphRepeatsSentence.h rename to internal/check/checkfunctions/testdata/libraries/ParagraphRepeatsSentence/src/ParagraphRepeatsSentence.h diff --git a/check/checkfunctions/testdata/libraries/Precompiled/library.properties b/internal/check/checkfunctions/testdata/libraries/Precompiled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Precompiled/library.properties rename to internal/check/checkfunctions/testdata/libraries/Precompiled/library.properties diff --git a/check/checkfunctions/testdata/libraries/Precompiled/src/Precompiled.h b/internal/check/checkfunctions/testdata/libraries/Precompiled/src/Precompiled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Precompiled/src/Precompiled.h rename to internal/check/checkfunctions/testdata/libraries/Precompiled/src/Precompiled.h diff --git a/check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/library.properties b/internal/check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/library.properties rename to internal/check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/library.properties diff --git a/check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/src/PrecompiledFieldMisspelled.h b/internal/check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/src/PrecompiledFieldMisspelled.h similarity index 100% rename from check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/src/PrecompiledFieldMisspelled.h rename to internal/check/checkfunctions/testdata/libraries/PrecompiledFieldMisspelled/src/PrecompiledFieldMisspelled.h diff --git a/check/checkfunctions/testdata/libraries/PrecompiledFlat/PrecompiledFlat.h b/internal/check/checkfunctions/testdata/libraries/PrecompiledFlat/PrecompiledFlat.h similarity index 100% rename from check/checkfunctions/testdata/libraries/PrecompiledFlat/PrecompiledFlat.h rename to internal/check/checkfunctions/testdata/libraries/PrecompiledFlat/PrecompiledFlat.h diff --git a/check/checkfunctions/testdata/libraries/PrecompiledFlat/library.properties b/internal/check/checkfunctions/testdata/libraries/PrecompiledFlat/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/PrecompiledFlat/library.properties rename to internal/check/checkfunctions/testdata/libraries/PrecompiledFlat/library.properties diff --git a/check/checkfunctions/testdata/libraries/PrecompiledInvalid/library.properties b/internal/check/checkfunctions/testdata/libraries/PrecompiledInvalid/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/PrecompiledInvalid/library.properties rename to internal/check/checkfunctions/testdata/libraries/PrecompiledInvalid/library.properties diff --git a/check/checkfunctions/testdata/libraries/PrecompiledInvalid/src/PrecompiledInvalid.h b/internal/check/checkfunctions/testdata/libraries/PrecompiledInvalid/src/PrecompiledInvalid.h similarity index 100% rename from check/checkfunctions/testdata/libraries/PrecompiledInvalid/src/PrecompiledInvalid.h rename to internal/check/checkfunctions/testdata/libraries/PrecompiledInvalid/src/PrecompiledInvalid.h diff --git a/check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/library.properties b/internal/check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/library.properties rename to internal/check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/library.properties diff --git a/check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/src/ProhibitedCharactersInFolderName.h b/internal/check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/src/ProhibitedCharactersInFolderName.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/src/ProhibitedCharactersInFolderName.h rename to internal/check/checkfunctions/testdata/libraries/Prohibited CharactersInFolderName/src/ProhibitedCharactersInFolderName.h diff --git a/check/checkfunctions/testdata/libraries/Recursive/library.properties b/internal/check/checkfunctions/testdata/libraries/Recursive/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Recursive/library.properties rename to internal/check/checkfunctions/testdata/libraries/Recursive/library.properties diff --git a/check/checkfunctions/testdata/libraries/Recursive/src/Recursive.h b/internal/check/checkfunctions/testdata/libraries/Recursive/src/Recursive.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Recursive/src/Recursive.h rename to internal/check/checkfunctions/testdata/libraries/Recursive/src/Recursive.h diff --git a/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/library.properties b/internal/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/library.properties rename to internal/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/library.properties diff --git a/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/src/RecursiveWithUtilityFolder.h b/internal/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/src/RecursiveWithUtilityFolder.h similarity index 100% rename from check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/src/RecursiveWithUtilityFolder.h rename to internal/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/src/RecursiveWithUtilityFolder.h diff --git a/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/utility/utility.cpp b/internal/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/utility/utility.cpp similarity index 100% rename from check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/utility/utility.cpp rename to internal/check/checkfunctions/testdata/libraries/RecursiveWithUtilityFolder/utility/utility.cpp diff --git a/check/checkfunctions/testdata/libraries/RecursiveWithoutLibraryProperties/src/RecursiveWithoutLibraryProperties.h b/internal/check/checkfunctions/testdata/libraries/RecursiveWithoutLibraryProperties/src/RecursiveWithoutLibraryProperties.h similarity index 100% rename from check/checkfunctions/testdata/libraries/RecursiveWithoutLibraryProperties/src/RecursiveWithoutLibraryProperties.h rename to internal/check/checkfunctions/testdata/libraries/RecursiveWithoutLibraryProperties/src/RecursiveWithoutLibraryProperties.h diff --git a/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/library.properties b/internal/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/RedundantLibraryProperties/library.properties rename to internal/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/library.properties diff --git a/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/RedundantLibraryProperties.h b/internal/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/RedundantLibraryProperties.h similarity index 100% rename from check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/RedundantLibraryProperties.h rename to internal/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/RedundantLibraryProperties.h diff --git a/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/library.properties b/internal/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/library.properties rename to internal/check/checkfunctions/testdata/libraries/RedundantLibraryProperties/src/library.properties diff --git a/check/checkfunctions/testdata/libraries/SentenceLTMinLength/library.properties b/internal/check/checkfunctions/testdata/libraries/SentenceLTMinLength/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/SentenceLTMinLength/library.properties rename to internal/check/checkfunctions/testdata/libraries/SentenceLTMinLength/library.properties diff --git a/check/checkfunctions/testdata/libraries/SentenceLTMinLength/src/SentenceLTMinLength.h b/internal/check/checkfunctions/testdata/libraries/SentenceLTMinLength/src/SentenceLTMinLength.h similarity index 100% rename from check/checkfunctions/testdata/libraries/SentenceLTMinLength/src/SentenceLTMinLength.h rename to internal/check/checkfunctions/testdata/libraries/SentenceLTMinLength/src/SentenceLTMinLength.h diff --git a/check/checkfunctions/testdata/libraries/SketchInRoot/Example.ino b/internal/check/checkfunctions/testdata/libraries/SketchInRoot/Example.ino similarity index 100% rename from check/checkfunctions/testdata/libraries/SketchInRoot/Example.ino rename to internal/check/checkfunctions/testdata/libraries/SketchInRoot/Example.ino diff --git a/check/checkfunctions/testdata/libraries/SketchInRoot/library.properties b/internal/check/checkfunctions/testdata/libraries/SketchInRoot/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/SketchInRoot/library.properties rename to internal/check/checkfunctions/testdata/libraries/SketchInRoot/library.properties diff --git a/check/checkfunctions/testdata/libraries/SketchInRoot/src/SketchInRoot.h b/internal/check/checkfunctions/testdata/libraries/SketchInRoot/src/SketchInRoot.h similarity index 100% rename from check/checkfunctions/testdata/libraries/SketchInRoot/src/SketchInRoot.h rename to internal/check/checkfunctions/testdata/libraries/SketchInRoot/src/SketchInRoot.h diff --git a/check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/library.properties b/internal/check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/library.properties rename to internal/check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/library.properties diff --git a/check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/src/SpuriousMisspelledSentenceParagraphValue.h b/internal/check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/src/SpuriousMisspelledSentenceParagraphValue.h similarity index 100% rename from check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/src/SpuriousMisspelledSentenceParagraphValue.h rename to internal/check/checkfunctions/testdata/libraries/SpuriousMisspelledSentenceParagraphValue/src/SpuriousMisspelledSentenceParagraphValue.h diff --git a/check/checkfunctions/testdata/libraries/Submodule/.gitmodules b/internal/check/checkfunctions/testdata/libraries/Submodule/.gitmodules similarity index 100% rename from check/checkfunctions/testdata/libraries/Submodule/.gitmodules rename to internal/check/checkfunctions/testdata/libraries/Submodule/.gitmodules diff --git a/check/checkfunctions/testdata/libraries/Submodule/library.properties b/internal/check/checkfunctions/testdata/libraries/Submodule/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Submodule/library.properties rename to internal/check/checkfunctions/testdata/libraries/Submodule/library.properties diff --git a/check/checkfunctions/testdata/libraries/Submodule/src/Submodule.h b/internal/check/checkfunctions/testdata/libraries/Submodule/src/Submodule.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Submodule/src/Submodule.h rename to internal/check/checkfunctions/testdata/libraries/Submodule/src/Submodule.h diff --git a/check/checkfunctions/testdata/libraries/URL404/library.properties b/internal/check/checkfunctions/testdata/libraries/URL404/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/URL404/library.properties rename to internal/check/checkfunctions/testdata/libraries/URL404/library.properties diff --git a/check/checkfunctions/testdata/libraries/URL404/src/URL404.h b/internal/check/checkfunctions/testdata/libraries/URL404/src/URL404.h similarity index 100% rename from check/checkfunctions/testdata/libraries/URL404/src/URL404.h rename to internal/check/checkfunctions/testdata/libraries/URL404/src/URL404.h diff --git a/check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/library.properties b/internal/check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/library.properties rename to internal/check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/library.properties diff --git a/check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/src/UncategorizedCategoryValue.h b/internal/check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/src/UncategorizedCategoryValue.h similarity index 100% rename from check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/src/UncategorizedCategoryValue.h rename to internal/check/checkfunctions/testdata/libraries/UncategorizedCategoryValue/src/UncategorizedCategoryValue.h diff --git a/check/checkfunctions/testdata/libraries/UrlFormatInvalid/library.properties b/internal/check/checkfunctions/testdata/libraries/UrlFormatInvalid/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/UrlFormatInvalid/library.properties rename to internal/check/checkfunctions/testdata/libraries/UrlFormatInvalid/library.properties diff --git a/check/checkfunctions/testdata/libraries/UrlFormatInvalid/src/UrlFormatInvalid.h b/internal/check/checkfunctions/testdata/libraries/UrlFormatInvalid/src/UrlFormatInvalid.h similarity index 100% rename from check/checkfunctions/testdata/libraries/UrlFormatInvalid/src/UrlFormatInvalid.h rename to internal/check/checkfunctions/testdata/libraries/UrlFormatInvalid/src/UrlFormatInvalid.h diff --git a/check/checkfunctions/testdata/libraries/Version1.0.0/library.properties b/internal/check/checkfunctions/testdata/libraries/Version1.0.0/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/Version1.0.0/library.properties rename to internal/check/checkfunctions/testdata/libraries/Version1.0.0/library.properties diff --git a/check/checkfunctions/testdata/libraries/Version1.0.0/src/Version1.0.0.h b/internal/check/checkfunctions/testdata/libraries/Version1.0.0/src/Version1.0.0.h similarity index 100% rename from check/checkfunctions/testdata/libraries/Version1.0.0/src/Version1.0.0.h rename to internal/check/checkfunctions/testdata/libraries/Version1.0.0/src/Version1.0.0.h diff --git a/check/checkfunctions/testdata/libraries/VersionFormatInvalid/library.properties b/internal/check/checkfunctions/testdata/libraries/VersionFormatInvalid/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/VersionFormatInvalid/library.properties rename to internal/check/checkfunctions/testdata/libraries/VersionFormatInvalid/library.properties diff --git a/check/checkfunctions/testdata/libraries/VersionFormatInvalid/src/VersionFormatInvalid.h b/internal/check/checkfunctions/testdata/libraries/VersionFormatInvalid/src/VersionFormatInvalid.h similarity index 100% rename from check/checkfunctions/testdata/libraries/VersionFormatInvalid/src/VersionFormatInvalid.h rename to internal/check/checkfunctions/testdata/libraries/VersionFormatInvalid/src/VersionFormatInvalid.h diff --git a/check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/library.properties b/internal/check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/library.properties rename to internal/check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/library.properties diff --git a/check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/src/VersionNotRelaxedSemver.h b/internal/check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/src/VersionNotRelaxedSemver.h similarity index 100% rename from check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/src/VersionNotRelaxedSemver.h rename to internal/check/checkfunctions/testdata/libraries/VersionNotRelaxedSemver/src/VersionNotRelaxedSemver.h diff --git a/check/checkfunctions/testdata/libraries/VersionNotSemver/library.properties b/internal/check/checkfunctions/testdata/libraries/VersionNotSemver/library.properties similarity index 100% rename from check/checkfunctions/testdata/libraries/VersionNotSemver/library.properties rename to internal/check/checkfunctions/testdata/libraries/VersionNotSemver/library.properties diff --git a/check/checkfunctions/testdata/libraries/VersionNotSemver/src/VersionNotSemver.h b/internal/check/checkfunctions/testdata/libraries/VersionNotSemver/src/VersionNotSemver.h similarity index 100% rename from check/checkfunctions/testdata/libraries/VersionNotSemver/src/VersionNotSemver.h rename to internal/check/checkfunctions/testdata/libraries/VersionNotSemver/src/VersionNotSemver.h diff --git a/check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json b/internal/check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json similarity index 100% rename from check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json rename to internal/check/checkfunctions/testdata/packageindexes/invalid-JSON/package_foo_index.json diff --git a/check/checkfunctions/testdata/packageindexes/invalid-package-index/package_foo_index.json b/internal/check/checkfunctions/testdata/packageindexes/invalid-package-index/package_foo_index.json similarity index 100% rename from check/checkfunctions/testdata/packageindexes/invalid-package-index/package_foo_index.json rename to internal/check/checkfunctions/testdata/packageindexes/invalid-package-index/package_foo_index.json diff --git a/check/checkfunctions/testdata/packageindexes/valid-package-index/package_foo_index.json b/internal/check/checkfunctions/testdata/packageindexes/valid-package-index/package_foo_index.json similarity index 100% rename from check/checkfunctions/testdata/packageindexes/valid-package-index/package_foo_index.json rename to internal/check/checkfunctions/testdata/packageindexes/valid-package-index/package_foo_index.json diff --git a/check/checkfunctions/testdata/platforms/invalid-boards.txt/boards.txt b/internal/check/checkfunctions/testdata/platforms/invalid-boards.txt/boards.txt similarity index 100% rename from check/checkfunctions/testdata/platforms/invalid-boards.txt/boards.txt rename to internal/check/checkfunctions/testdata/platforms/invalid-boards.txt/boards.txt diff --git a/check/checkfunctions/testdata/platforms/missing-boards.txt/.gitkeep b/internal/check/checkfunctions/testdata/platforms/missing-boards.txt/.gitkeep similarity index 100% rename from check/checkfunctions/testdata/platforms/missing-boards.txt/.gitkeep rename to internal/check/checkfunctions/testdata/platforms/missing-boards.txt/.gitkeep diff --git a/check/checkfunctions/testdata/platforms/valid-boards.txt/boards.txt b/internal/check/checkfunctions/testdata/platforms/valid-boards.txt/boards.txt similarity index 100% rename from check/checkfunctions/testdata/platforms/valid-boards.txt/boards.txt rename to internal/check/checkfunctions/testdata/platforms/valid-boards.txt/boards.txt diff --git a/check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong.ino b/internal/check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong.ino rename to internal/check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong.ino diff --git a/check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong12345678901234567890123456789012345678901234567890.h b/internal/check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong12345678901234567890123456789012345678901234567890.h similarity index 100% rename from check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong12345678901234567890123456789012345678901234567890.h rename to internal/check/checkfunctions/testdata/sketches/FileNameTooLong/FileNameTooLong12345678901234567890123456789012345678901234567890.h diff --git a/check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/IncorrectSrcFolderNameCase.ino b/internal/check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/IncorrectSrcFolderNameCase.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/IncorrectSrcFolderNameCase.ino rename to internal/check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/IncorrectSrcFolderNameCase.ino diff --git a/check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/SRC/src.cpp b/internal/check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/SRC/src.cpp similarity index 100% rename from check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/SRC/src.cpp rename to internal/check/checkfunctions/testdata/sketches/IncorrectSrcFolderNameCase/SRC/src.cpp diff --git a/check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/InvalidDataMetadataFile.ino b/internal/check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/InvalidDataMetadataFile.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/InvalidDataMetadataFile.ino rename to internal/check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/InvalidDataMetadataFile.ino diff --git a/check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/sketch.json b/internal/check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/sketch.json similarity index 100% rename from check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/sketch.json rename to internal/check/checkfunctions/testdata/sketches/InvalidDataMetadataFile/sketch.json diff --git a/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/InvalidJSONMetadataFile.ino b/internal/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/InvalidJSONMetadataFile.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/InvalidJSONMetadataFile.ino rename to internal/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/InvalidJSONMetadataFile.ino diff --git a/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json b/internal/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json similarity index 100% rename from check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json rename to internal/check/checkfunctions/testdata/sketches/InvalidJSONMetadataFile/sketch.json diff --git a/check/checkfunctions/testdata/sketches/NameMismatch/Mismatch.ino b/internal/check/checkfunctions/testdata/sketches/NameMismatch/Mismatch.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/NameMismatch/Mismatch.ino rename to internal/check/checkfunctions/testdata/sketches/NameMismatch/Mismatch.ino diff --git a/check/checkfunctions/testdata/sketches/NoMetadataFile/NoMetadataFile.ino b/internal/check/checkfunctions/testdata/sketches/NoMetadataFile/NoMetadataFile.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/NoMetadataFile/NoMetadataFile.ino rename to internal/check/checkfunctions/testdata/sketches/NoMetadataFile/NoMetadataFile.ino diff --git a/check/checkfunctions/testdata/sketches/Pde/Pde.pde b/internal/check/checkfunctions/testdata/sketches/Pde/Pde.pde similarity index 100% rename from check/checkfunctions/testdata/sketches/Pde/Pde.pde rename to internal/check/checkfunctions/testdata/sketches/Pde/Pde.pde diff --git a/check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/Prohibited CharactersInFileName.h b/internal/check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/Prohibited CharactersInFileName.h similarity index 100% rename from check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/Prohibited CharactersInFileName.h rename to internal/check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/Prohibited CharactersInFileName.h diff --git a/check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/ProhibitedCharactersInFileName.ino b/internal/check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/ProhibitedCharactersInFileName.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/ProhibitedCharactersInFileName.ino rename to internal/check/checkfunctions/testdata/sketches/ProhibitedCharactersInFileName/ProhibitedCharactersInFileName.ino diff --git a/check/checkfunctions/testdata/sketches/SrcSubfolder/SrcSubfolder.ino b/internal/check/checkfunctions/testdata/sketches/SrcSubfolder/SrcSubfolder.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/SrcSubfolder/SrcSubfolder.ino rename to internal/check/checkfunctions/testdata/sketches/SrcSubfolder/SrcSubfolder.ino diff --git a/check/checkfunctions/testdata/sketches/SrcSubfolder/src/src.cpp b/internal/check/checkfunctions/testdata/sketches/SrcSubfolder/src/src.cpp similarity index 100% rename from check/checkfunctions/testdata/sketches/SrcSubfolder/src/src.cpp rename to internal/check/checkfunctions/testdata/sketches/SrcSubfolder/src/src.cpp diff --git a/check/checkfunctions/testdata/sketches/Valid/Valid.ino b/internal/check/checkfunctions/testdata/sketches/Valid/Valid.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/Valid/Valid.ino rename to internal/check/checkfunctions/testdata/sketches/Valid/Valid.ino diff --git a/check/checkfunctions/testdata/sketches/ValidMetadataFile/ValidMetadataFile.ino b/internal/check/checkfunctions/testdata/sketches/ValidMetadataFile/ValidMetadataFile.ino similarity index 100% rename from check/checkfunctions/testdata/sketches/ValidMetadataFile/ValidMetadataFile.ino rename to internal/check/checkfunctions/testdata/sketches/ValidMetadataFile/ValidMetadataFile.ino diff --git a/check/checkfunctions/testdata/sketches/ValidMetadataFile/sketch.json b/internal/check/checkfunctions/testdata/sketches/ValidMetadataFile/sketch.json similarity index 100% rename from check/checkfunctions/testdata/sketches/ValidMetadataFile/sketch.json rename to internal/check/checkfunctions/testdata/sketches/ValidMetadataFile/sketch.json diff --git a/check/checklevel/checklevel.go b/internal/check/checklevel/checklevel.go similarity index 89% rename from check/checklevel/checklevel.go rename to internal/check/checklevel/checklevel.go index de8d825f..877bcf1d 100644 --- a/check/checklevel/checklevel.go +++ b/internal/check/checklevel/checklevel.go @@ -19,11 +19,11 @@ package checklevel import ( "fmt" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project" ) // Type is the type for the check levels. diff --git a/check/checklevel/checklevel_test.go b/internal/check/checklevel/checklevel_test.go similarity index 88% rename from check/checklevel/checklevel_test.go rename to internal/check/checklevel/checklevel_test.go index 5579b835..30f99721 100644 --- a/check/checklevel/checklevel_test.go +++ b/internal/check/checklevel/checklevel_test.go @@ -18,13 +18,13 @@ package checklevel import ( "testing" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/util/test" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/util/test" "github.com/stretchr/testify/assert" ) diff --git a/check/checklevel/type_string.go b/internal/check/checklevel/type_string.go similarity index 100% rename from check/checklevel/type_string.go rename to internal/check/checklevel/type_string.go diff --git a/check/checkresult/checkresult.go b/internal/check/checkresult/checkresult.go similarity index 100% rename from check/checkresult/checkresult.go rename to internal/check/checkresult/checkresult.go diff --git a/check/checkresult/type_string.go b/internal/check/checkresult/type_string.go similarity index 100% rename from check/checkresult/type_string.go rename to internal/check/checkresult/type_string.go diff --git a/cli/cli.go b/internal/cli/cli.go similarity index 98% rename from cli/cli.go rename to internal/cli/cli.go index a7102032..0451d7dd 100644 --- a/cli/cli.go +++ b/internal/cli/cli.go @@ -17,7 +17,7 @@ package cli import ( - "github.com/arduino/arduino-lint/command" + "github.com/arduino/arduino-lint/internal/command" "github.com/spf13/cobra" ) diff --git a/command/command.go b/internal/command/command.go similarity index 89% rename from command/command.go rename to internal/command/command.go index 13d83144..6a48a6d5 100644 --- a/command/command.go +++ b/internal/command/command.go @@ -21,12 +21,12 @@ import ( "fmt" "os" - "github.com/arduino/arduino-lint/check" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/result" - "github.com/arduino/arduino-lint/result/feedback" - "github.com/arduino/arduino-lint/result/outputformat" + "github.com/arduino/arduino-lint/internal/check" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/result" + "github.com/arduino/arduino-lint/internal/result/feedback" + "github.com/arduino/arduino-lint/internal/result/outputformat" "github.com/spf13/cobra" ) diff --git a/configuration/checkmode/checkmode.go b/internal/configuration/checkmode/checkmode.go similarity index 98% rename from configuration/checkmode/checkmode.go rename to internal/configuration/checkmode/checkmode.go index 992d456d..4ba0c2ca 100644 --- a/configuration/checkmode/checkmode.go +++ b/internal/configuration/checkmode/checkmode.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/sirupsen/logrus" ) diff --git a/configuration/checkmode/checkmode_test.go b/internal/configuration/checkmode/checkmode_test.go similarity index 97% rename from configuration/checkmode/checkmode_test.go rename to internal/configuration/checkmode/checkmode_test.go index 57c9d718..043c8bcd 100644 --- a/configuration/checkmode/checkmode_test.go +++ b/internal/configuration/checkmode/checkmode_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/project/projecttype" "github.com/stretchr/testify/assert" ) diff --git a/configuration/checkmode/type_string.go b/internal/configuration/checkmode/type_string.go similarity index 100% rename from configuration/checkmode/type_string.go rename to internal/configuration/checkmode/type_string.go diff --git a/configuration/configuration.go b/internal/configuration/configuration.go similarity index 97% rename from configuration/configuration.go rename to internal/configuration/configuration.go index b6ba1235..4929081b 100644 --- a/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -23,9 +23,9 @@ import ( "strconv" "strings" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/result/outputformat" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/result/outputformat" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" "github.com/spf13/pflag" diff --git a/configuration/configuration_test.go b/internal/configuration/configuration_test.go similarity index 97% rename from configuration/configuration_test.go rename to internal/configuration/configuration_test.go index 8f981877..ffbf5dd8 100644 --- a/configuration/configuration_test.go +++ b/internal/configuration/configuration_test.go @@ -19,10 +19,10 @@ import ( "os" "testing" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/result/outputformat" - "github.com/arduino/arduino-lint/util/test" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/result/outputformat" + "github.com/arduino/arduino-lint/internal/util/test" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" diff --git a/configuration/defaults.go b/internal/configuration/defaults.go similarity index 94% rename from configuration/defaults.go rename to internal/configuration/defaults.go index 0727f937..fbdccc2b 100644 --- a/configuration/defaults.go +++ b/internal/configuration/defaults.go @@ -20,8 +20,8 @@ package configuration import ( "os" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project/projecttype" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project/projecttype" ) // Default check modes for each superproject type. diff --git a/project/library/library.go b/internal/project/library/library.go similarity index 100% rename from project/library/library.go rename to internal/project/library/library.go diff --git a/project/library/library_test.go b/internal/project/library/library_test.go similarity index 100% rename from project/library/library_test.go rename to internal/project/library/library_test.go diff --git a/project/library/libraryproperties/libraryproperties.go b/internal/project/library/libraryproperties/libraryproperties.go similarity index 92% rename from project/library/libraryproperties/libraryproperties.go rename to internal/project/library/libraryproperties/libraryproperties.go index e9ad78b5..7f093f15 100644 --- a/project/library/libraryproperties/libraryproperties.go +++ b/internal/project/library/libraryproperties/libraryproperties.go @@ -17,9 +17,9 @@ package libraryproperties import ( - "github.com/arduino/arduino-lint/check/checkdata/schema" - "github.com/arduino/arduino-lint/check/checkdata/schema/compliancelevel" - "github.com/arduino/arduino-lint/check/checkdata/schema/schemadata" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema/compliancelevel" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema/schemadata" "github.com/arduino/go-paths-helper" "github.com/arduino/go-properties-orderedmap" ) diff --git a/project/library/libraryproperties/librarypropertiesschemas_test.go b/internal/project/library/libraryproperties/librarypropertiesschemas_test.go similarity index 99% rename from project/library/libraryproperties/librarypropertiesschemas_test.go rename to internal/project/library/libraryproperties/librarypropertiesschemas_test.go index 0b8745e3..24804c12 100644 --- a/project/library/libraryproperties/librarypropertiesschemas_test.go +++ b/internal/project/library/libraryproperties/librarypropertiesschemas_test.go @@ -21,9 +21,9 @@ import ( "strings" "testing" - "github.com/arduino/arduino-lint/check/checkdata/schema" - "github.com/arduino/arduino-lint/check/checkdata/schema/compliancelevel" - "github.com/arduino/arduino-lint/project/library/libraryproperties" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema" + "github.com/arduino/arduino-lint/internal/check/checkdata/schema/compliancelevel" + "github.com/arduino/arduino-lint/internal/project/library/libraryproperties" "github.com/arduino/go-properties-orderedmap" "github.com/stretchr/testify/assert" diff --git a/project/library/testdata/ContainsHeaderFile/foo.h b/internal/project/library/testdata/ContainsHeaderFile/foo.h similarity index 100% rename from project/library/testdata/ContainsHeaderFile/foo.h rename to internal/project/library/testdata/ContainsHeaderFile/foo.h diff --git a/project/library/testdata/ContainsMetadataFile/library.properties b/internal/project/library/testdata/ContainsMetadataFile/library.properties similarity index 100% rename from project/library/testdata/ContainsMetadataFile/library.properties rename to internal/project/library/testdata/ContainsMetadataFile/library.properties diff --git a/project/library/testdata/ContainsNoHeaderFile/foo.bar b/internal/project/library/testdata/ContainsNoHeaderFile/foo.bar similarity index 100% rename from project/library/testdata/ContainsNoHeaderFile/foo.bar rename to internal/project/library/testdata/ContainsNoHeaderFile/foo.bar diff --git a/project/library/testdata/ContainsNoMetadataFile/foo.bar b/internal/project/library/testdata/ContainsNoMetadataFile/foo.bar similarity index 100% rename from project/library/testdata/ContainsNoMetadataFile/foo.bar rename to internal/project/library/testdata/ContainsNoMetadataFile/foo.bar diff --git a/project/packageindex/packageindex.go b/internal/project/packageindex/packageindex.go similarity index 100% rename from project/packageindex/packageindex.go rename to internal/project/packageindex/packageindex.go diff --git a/project/packageindex/packageindex_test.go b/internal/project/packageindex/packageindex_test.go similarity index 100% rename from project/packageindex/packageindex_test.go rename to internal/project/packageindex/packageindex_test.go diff --git a/project/packageindex/testdata/HasJSON/foo.json b/internal/project/packageindex/testdata/HasJSON/foo.json similarity index 100% rename from project/packageindex/testdata/HasJSON/foo.json rename to internal/project/packageindex/testdata/HasJSON/foo.json diff --git a/project/packageindex/testdata/HasMultiple/foo.json b/internal/project/packageindex/testdata/HasMultiple/foo.json similarity index 100% rename from project/packageindex/testdata/HasMultiple/foo.json rename to internal/project/packageindex/testdata/HasMultiple/foo.json diff --git a/project/packageindex/testdata/HasMultiple/package_foo_index.json b/internal/project/packageindex/testdata/HasMultiple/package_foo_index.json similarity index 100% rename from project/packageindex/testdata/HasMultiple/package_foo_index.json rename to internal/project/packageindex/testdata/HasMultiple/package_foo_index.json diff --git a/project/packageindex/testdata/HasNone/foo.bar b/internal/project/packageindex/testdata/HasNone/foo.bar similarity index 100% rename from project/packageindex/testdata/HasNone/foo.bar rename to internal/project/packageindex/testdata/HasNone/foo.bar diff --git a/project/packageindex/testdata/HasPackageIndex/package_foo_index.json b/internal/project/packageindex/testdata/HasPackageIndex/package_foo_index.json similarity index 100% rename from project/packageindex/testdata/HasPackageIndex/package_foo_index.json rename to internal/project/packageindex/testdata/HasPackageIndex/package_foo_index.json diff --git a/project/packageindex/testdata/HasPrimaryPackageIndex/package_index.json b/internal/project/packageindex/testdata/HasPrimaryPackageIndex/package_index.json similarity index 100% rename from project/packageindex/testdata/HasPrimaryPackageIndex/package_index.json rename to internal/project/packageindex/testdata/HasPrimaryPackageIndex/package_index.json diff --git a/project/platform/boardstxt/boardstxt.go b/internal/project/platform/boardstxt/boardstxt.go similarity index 100% rename from project/platform/boardstxt/boardstxt.go rename to internal/project/platform/boardstxt/boardstxt.go diff --git a/project/platform/platform.go b/internal/project/platform/platform.go similarity index 100% rename from project/platform/platform.go rename to internal/project/platform/platform.go diff --git a/project/platform/platform_test.go b/internal/project/platform/platform_test.go similarity index 100% rename from project/platform/platform_test.go rename to internal/project/platform/platform_test.go diff --git a/project/project.go b/internal/project/project.go similarity index 97% rename from project/project.go rename to internal/project/project.go index 9d2ee205..ce852bc2 100644 --- a/project/project.go +++ b/internal/project/project.go @@ -19,12 +19,12 @@ package project import ( "fmt" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/project/library" - "github.com/arduino/arduino-lint/project/packageindex" - "github.com/arduino/arduino-lint/project/platform" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/project/sketch" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/project/library" + "github.com/arduino/arduino-lint/internal/project/packageindex" + "github.com/arduino/arduino-lint/internal/project/platform" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/project/sketch" "github.com/arduino/go-paths-helper" "github.com/sirupsen/logrus" ) diff --git a/project/project_test.go b/internal/project/project_test.go similarity index 97% rename from project/project_test.go rename to internal/project/project_test.go index efd91ad7..ede71c43 100644 --- a/project/project_test.go +++ b/internal/project/project_test.go @@ -20,9 +20,9 @@ import ( "reflect" "testing" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/util/test" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/util/test" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" ) diff --git a/project/projecttype/projecttype.go b/internal/project/projecttype/projecttype.go similarity index 100% rename from project/projecttype/projecttype.go rename to internal/project/projecttype/projecttype.go diff --git a/project/projecttype/projecttype_test.go b/internal/project/projecttype/projecttype_test.go similarity index 100% rename from project/projecttype/projecttype_test.go rename to internal/project/projecttype/projecttype_test.go diff --git a/project/projecttype/type_string.go b/internal/project/projecttype/type_string.go similarity index 100% rename from project/projecttype/type_string.go rename to internal/project/projecttype/type_string.go diff --git a/project/sketch/sketch.go b/internal/project/sketch/sketch.go similarity index 100% rename from project/sketch/sketch.go rename to internal/project/sketch/sketch.go diff --git a/project/sketch/sketch_test.go b/internal/project/sketch/sketch_test.go similarity index 100% rename from project/sketch/sketch_test.go rename to internal/project/sketch/sketch_test.go diff --git a/project/sketch/testdata/ContainsNoMainSketchFile/foo.bar b/internal/project/sketch/testdata/ContainsNoMainSketchFile/foo.bar similarity index 100% rename from project/sketch/testdata/ContainsNoMainSketchFile/foo.bar rename to internal/project/sketch/testdata/ContainsNoMainSketchFile/foo.bar diff --git a/project/sketch/testdata/HasMetadataFile/HasMetadataFile.ino b/internal/project/sketch/testdata/HasMetadataFile/HasMetadataFile.ino similarity index 100% rename from project/sketch/testdata/HasMetadataFile/HasMetadataFile.ino rename to internal/project/sketch/testdata/HasMetadataFile/HasMetadataFile.ino diff --git a/project/sketch/testdata/HasMetadataFile/sketch.json b/internal/project/sketch/testdata/HasMetadataFile/sketch.json similarity index 100% rename from project/sketch/testdata/HasMetadataFile/sketch.json rename to internal/project/sketch/testdata/HasMetadataFile/sketch.json diff --git a/project/sketch/testdata/NoMetadataFile/NoMetadataFile.ino b/internal/project/sketch/testdata/NoMetadataFile/NoMetadataFile.ino similarity index 100% rename from project/sketch/testdata/NoMetadataFile/NoMetadataFile.ino rename to internal/project/sketch/testdata/NoMetadataFile/NoMetadataFile.ino diff --git a/project/sketch/testdata/Valid/Valid.ino b/internal/project/sketch/testdata/Valid/Valid.ino similarity index 100% rename from project/sketch/testdata/Valid/Valid.ino rename to internal/project/sketch/testdata/Valid/Valid.ino diff --git a/project/testdata/Library/Library.h b/internal/project/testdata/Library/Library.h similarity index 100% rename from project/testdata/Library/Library.h rename to internal/project/testdata/Library/Library.h diff --git a/project/testdata/Library/examples/Example/Example.ino b/internal/project/testdata/Library/examples/Example/Example.ino similarity index 100% rename from project/testdata/Library/examples/Example/Example.ino rename to internal/project/testdata/Library/examples/Example/Example.ino diff --git a/project/testdata/PackageIndex/package_foo_index.json b/internal/project/testdata/PackageIndex/package_foo_index.json similarity index 100% rename from project/testdata/PackageIndex/package_foo_index.json rename to internal/project/testdata/PackageIndex/package_foo_index.json diff --git a/project/testdata/Platform/boards.txt b/internal/project/testdata/Platform/boards.txt similarity index 100% rename from project/testdata/Platform/boards.txt rename to internal/project/testdata/Platform/boards.txt diff --git a/project/testdata/Platform/libraries/Library/Library.h b/internal/project/testdata/Platform/libraries/Library/Library.h similarity index 100% rename from project/testdata/Platform/libraries/Library/Library.h rename to internal/project/testdata/Platform/libraries/Library/Library.h diff --git a/project/testdata/Platform/libraries/Library/examples/Example/Example.ino b/internal/project/testdata/Platform/libraries/Library/examples/Example/Example.ino similarity index 100% rename from project/testdata/Platform/libraries/Library/examples/Example/Example.ino rename to internal/project/testdata/Platform/libraries/Library/examples/Example/Example.ino diff --git a/project/testdata/Platform/libraries/Library/library.properties b/internal/project/testdata/Platform/libraries/Library/library.properties similarity index 100% rename from project/testdata/Platform/libraries/Library/library.properties rename to internal/project/testdata/Platform/libraries/Library/library.properties diff --git a/project/testdata/Projects/Library/Library.h b/internal/project/testdata/Projects/Library/Library.h similarity index 100% rename from project/testdata/Projects/Library/Library.h rename to internal/project/testdata/Projects/Library/Library.h diff --git a/project/testdata/Projects/Library/examples/Example/Example.ino b/internal/project/testdata/Projects/Library/examples/Example/Example.ino similarity index 100% rename from project/testdata/Projects/Library/examples/Example/Example.ino rename to internal/project/testdata/Projects/Library/examples/Example/Example.ino diff --git a/project/testdata/Projects/Sketch/Sketch.ino b/internal/project/testdata/Projects/Sketch/Sketch.ino similarity index 100% rename from project/testdata/Projects/Sketch/Sketch.ino rename to internal/project/testdata/Projects/Sketch/Sketch.ino diff --git a/project/testdata/Sketch/Sketch.ino b/internal/project/testdata/Sketch/Sketch.ino similarity index 100% rename from project/testdata/Sketch/Sketch.ino rename to internal/project/testdata/Sketch/Sketch.ino diff --git a/result/feedback/feedback.go b/internal/result/feedback/feedback.go similarity index 94% rename from result/feedback/feedback.go rename to internal/result/feedback/feedback.go index 7fd8d002..252b8a33 100644 --- a/result/feedback/feedback.go +++ b/internal/result/feedback/feedback.go @@ -20,8 +20,8 @@ import ( "fmt" "os" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/result/outputformat" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/result/outputformat" "github.com/sirupsen/logrus" ) diff --git a/result/outputformat/outputformat.go b/internal/result/outputformat/outputformat.go similarity index 100% rename from result/outputformat/outputformat.go rename to internal/result/outputformat/outputformat.go diff --git a/result/outputformat/outputformat_test.go b/internal/result/outputformat/outputformat_test.go similarity index 100% rename from result/outputformat/outputformat_test.go rename to internal/result/outputformat/outputformat_test.go diff --git a/result/outputformat/type_string.go b/internal/result/outputformat/type_string.go similarity index 100% rename from result/outputformat/type_string.go rename to internal/result/outputformat/type_string.go diff --git a/result/result.go b/internal/result/result.go similarity index 96% rename from result/result.go rename to internal/result/result.go index f5d7fdde..c4823907 100644 --- a/result/result.go +++ b/internal/result/result.go @@ -22,12 +22,12 @@ import ( "fmt" "text/template" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/check/checklevel" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/check/checklevel" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project" "github.com/arduino/go-paths-helper" ) diff --git a/result/result_test.go b/internal/result/result_test.go similarity index 95% rename from result/result_test.go rename to internal/result/result_test.go index 4b8b791b..f650f25e 100644 --- a/result/result_test.go +++ b/internal/result/result_test.go @@ -21,14 +21,14 @@ import ( "os" "testing" - "github.com/arduino/arduino-lint/check/checkconfigurations" - "github.com/arduino/arduino-lint/check/checklevel" - "github.com/arduino/arduino-lint/check/checkresult" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/configuration/checkmode" - "github.com/arduino/arduino-lint/project" - "github.com/arduino/arduino-lint/project/projecttype" - "github.com/arduino/arduino-lint/util/test" + "github.com/arduino/arduino-lint/internal/check/checkconfigurations" + "github.com/arduino/arduino-lint/internal/check/checklevel" + "github.com/arduino/arduino-lint/internal/check/checkresult" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/configuration/checkmode" + "github.com/arduino/arduino-lint/internal/project" + "github.com/arduino/arduino-lint/internal/project/projecttype" + "github.com/arduino/arduino-lint/internal/util/test" "github.com/arduino/go-paths-helper" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/util/test/test.go b/internal/util/test/test.go similarity index 100% rename from util/test/test.go rename to internal/util/test/test.go diff --git a/main.go b/main.go index 05ef50af..af3ef07a 100644 --- a/main.go +++ b/main.go @@ -18,9 +18,9 @@ package main import ( "os" - "github.com/arduino/arduino-lint/cli" - "github.com/arduino/arduino-lint/configuration" - "github.com/arduino/arduino-lint/result/feedback" + "github.com/arduino/arduino-lint/internal/cli" + "github.com/arduino/arduino-lint/internal/configuration" + "github.com/arduino/arduino-lint/internal/result/feedback" ) func init() {