Skip to content

Commit

Permalink
Fix #375: Remove .idea folder (#636)
Browse files Browse the repository at this point in the history
Add .editorconfig
  • Loading branch information
JFCote authored Nov 4, 2023
1 parent 26f74e0 commit 5c8a87d
Show file tree
Hide file tree
Showing 36 changed files with 664 additions and 269 deletions.
661 changes: 661 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# User-specific stuff:
.idea/workspace.xml
# Gradle:
.idea/gradle.xml
.idea/libraries
.gradle
.idea/jarRepositories.xml
.idea
.idea/*

# Eclipse IDE
.project
Expand All @@ -24,9 +19,9 @@ target

/lib/build
/lib/out
/.idea/sonarlint/issuestore/
/gradle-plugin/out/functionalTest/classes/org/openapitools/openapistylevalidator/gradle/OpenAPIStyleValidatorGradlePluginFunctionalTest.class
/gradle-plugin/out/production/classes/org/openapitools/openapistylevalidator/gradle/OpenAPIStyleValidatorGradlePlugin.class
/gradle-plugin/out/production/classes/org/openapitools/openapistylevalidator/gradle/OpenAPIStyleValidatorTask.class
/gradle-plugin/out/test/classes/org/openapitools/openapistylevalidator/gradle/OpenAPIStyleValidatorGradlePluginTest.class
/maven-plugin/out/production/classes/org/openapitools/openapistylevalidator/maven/OpenAPIStyleValidatorMojo.class
.gradle
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

5 changes: 0 additions & 5 deletions .idea/codeStyles/codeStyleConfig.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/compiler.xml

This file was deleted.

25 changes: 0 additions & 25 deletions .idea/gradle.xml

This file was deleted.

65 changes: 0 additions & 65 deletions .idea/libraries-with-intellij-classes.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/misc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/runConfigurations.xml

This file was deleted.

16 changes: 0 additions & 16 deletions .idea/runConfigurations/All_Tests.xml

This file was deleted.

20 changes: 0 additions & 20 deletions .idea/runConfigurations/Assemble.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/Run.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/RunSplit.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/RunV3.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/Run_help.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/runConfigurations/Run_no_argument.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations/Run_version.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/sbt.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.apache.commons.cli.*;

public class Main {

private static final String APP_NAME = "openapi-style-validator-cli";
private static final DefaultParser parser = new DefaultParser();
private static final OutputUtils outputUtils = new OutputUtils();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.openapitools.openapistylevalidator.ValidatorParameters;

class ObjectMapperProvider {

private ObjectMapper optionsObjectMapper;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.openapitools.openapistylevalidator.ValidatorParameters;

class OptionManagerTest {

private OutputUtils outputUtils = Mockito.mock(OutputUtils.class);
private OptionManager subject = new OptionManager(outputUtils);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.openapitools.openapistylevalidator.styleerror.*;

class ErrorAggregator {

private final List<StyleError> errorList = new ArrayList<>();

void logMissingOrEmptyAttribute(StyleError.StyleCheckSection styleCheckSection, String fieldNames) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import java.util.Optional;

class NamingValidator {

private static final String REGEX_LOWER_CASE_ALPHA_NUMERIC_ONLY = "[a-z0-9]+";
private static final String REGEX_UPPER_CASE_ALPHA_NUMERIC_ONLY = "[A-Z0-9]+";
private static final String REGEX_CAMEL_CASE = "([a-z0-9]+[A-Z]+\\w+)+";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.nio.file.Paths;

public class Utils {

public static String readFile(String path, Charset encoding) throws IOException {
byte[] encoded = Files.readAllBytes(Paths.get(path));
return new String(encoded, encoding);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.Objects;

public final class GenericStyleError extends StyleError {

private final String parentObjectName;

public GenericStyleError(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.Objects;

public final class ModelNamingStyleError extends StyleError {

private final String model;

public ModelNamingStyleError(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.util.Objects;

public final class ModelStyleError extends StyleError {

private final String modelName;
private final String propertyName;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.eclipse.microprofile.openapi.models.PathItem;

public final class OperationNamingStyleError extends StyleError {

private final String path;
private final PathItem.HttpMethod method;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.eclipse.microprofile.openapi.models.PathItem;

public final class OperationStyleError extends StyleError {

private final String path;
private final PathItem.HttpMethod method;

Expand Down
Loading

0 comments on commit 5c8a87d

Please sign in to comment.