1. 09 May, 2021 1 commit
  2. 08 May, 2021 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.7.0 - May 2021 · 2d222d60
      Gonzalo Müller Bravo authored
      * Increase line size.
      * Adds warning regex rule `regex[no-equality]` to avoid using `===` or `==`, recommendation is to substitute with `!(!==)`.
      2d222d60
  3. 31 Jan, 2021 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.6.0 - January 2020 · 570f7170
      Gonzalo Müller Bravo authored
      * Makes rules `regex[void.function.ts]`, `regex[quotes.jsx]` and `regex[react.import]` fixable.
      * Improves project configuration.
      570f7170
  4. 08 Nov, 2020 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.5.2 - November 2020 · 87bc5cef
      Gonzalo Müller Bravo authored
      * Fixes `immutable.ts` rule, now consider `static` fields.
      * Adds `ignoreComments` to `indent` rule.
      * Updates `no-html-entities.jsx` rule to check Hexadecimal values.
      * Removes length check from `id-match` rule, for length use `id-length`.
      * Allows `object` in `@typescript-eslint/ban-types` rule.
      87bc5cef
  5. 20 Jul, 2020 2 commits
    • Gonzalo Müller Bravo's avatar
      ## 2.5.1 - July 2020 · 21bc40d3
      Gonzalo Müller Bravo authored
      * Fixes `One JSX tag per line`.
      * Removes `ignoreComments` from `max-len` rule, it was giving issues when working with JSDoc.
      21bc40d3
    • Gonzalo Müller Bravo's avatar
      ## 2.5.0 - July 2020 · a3b0f433
      Gonzalo Müller Bravo authored
      * Adds new REGEX rule `no-export-group.js`.
      * Adds new REGEX rule `no-react-fragment-jsx.js`.
      * Adds new REGEX rule `intl-jsx.js`.
      * Extracts `id-match` to its own file `id-eslintrc.js`, it seems too opinionated and variable.
      * Improves `One JSX tag per line`.
      * Removes `Stroustrup closing brace` rule.
      a3b0f433
  6. 11 Jul, 2020 4 commits
    • Gonzalo Müller Bravo's avatar
      ## 2.4.1 - July 2020 · 6d221ced
      Gonzalo Müller Bravo authored
      * Actually removes `sort-imports`.
      6d221ced
    • Gonzalo Müller Bravo's avatar
      ## 2.4.0 - July 2020 · f02bc5a1
      Gonzalo Müller Bravo authored
      * Adds new REGEX file `stroustrup-braces-jsx.js`
      * Extracts `Opening brace should be in a new line`to its own file `allman-braces-jsx.js`.
      * Fixes `immutable.ts` for `async` functions.
      f02bc5a1
    • Gonzalo Müller Bravo's avatar
      ## 2.3.1 - July 2020 · 38abeed2
      Gonzalo Müller Bravo authored
      * Fixes rule `Opening brace should be in a new line`, should ignore lambdas.
      38abeed2
    • Gonzalo Müller Bravo's avatar
      ## 2.3.0 - July 2020 · c78363e7
      Gonzalo Müller Bravo authored
      * Adds a new rule to `jsx` rules: Opening brace should be in a new line.
      * Adds exception for `<span>`,`<a>` & `<i>` to `Only One JSX tag per line` rule.
      * Adds Regex rule `regex[no-html-entities.jsx]` to disallow the use of HTML entities.
      * Disables `react/no-unescaped-entities` (which is part of react/recommended).
      * Removes `sort-imports`.
      * Adds `import/order`.
      * Adjusts `@typescript-eslint/ban-types` for `Object` and `{}`.
      * Adds `@typescript-eslint/explicit-member-accessibility`.
      * Adjusts `react/jsx-first-prop-new-line` to `never`, why? right now there is no rule like jsx-min-props-per-line, having only 1 prop per line with an small amount of properties increase the verbosity.
      c78363e7
  7. 15 Jun, 2020 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.2.0 - June 2020 · 44020a6a
      Gonzalo Müller Bravo authored
      * Adds Regex rule `regex[react.import]` to encourage the use of `import * as React from 'react'`, React doesn't really export a module, export a namespace.
      * Adds Regex rule `regex[void.function.ts]`.
      * Adds `offsetTernaryExpressions` to `indent` rule in order to increase code Readability.
      * Updates `object-property-newline` settings to `allowAllPropertiesOnSameLine`. sometimes this removes verbosity from the code.
      * Updates `operator-linebreak` settings to change requirement for `&&` to have the line break after, which helps a lot in JSX.
      * Updates `react/jsx-max-props-per-line` to have `maximum`, this will allow to inline props to reduce verbosity of the code.
      * Turn off `"@typescript-eslint/prefer-readonly-parameter-types"` hoping in the future  it may have more options, is an excellent rule but difficult to use in the practice.
      * Removes `@typescript-eslint/explicit-module-boundary-types`, is was giving hard time with small callbacks functions which are use a lot,just keeping `explicit-function-return-type`.
      * Removes `@typescript-eslint/generic-type-naming` was deprecated and removed from `@typescript-eslint`.
      44020a6a
  8. 25 May, 2020 1 commit
  9. 13 May, 2020 1 commit
  10. 04 May, 2020 1 commit
  11. 02 May, 2020 1 commit
  12. 19 Feb, 2020 1 commit
  13. 09 Dec, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## December 2019 · 36db2866
      Gonzalo Müller Bravo authored
      * Updates README files.
      
      ### ESLint Plugin Base Style Config Change Log
      
      #### 1.0.1 - December 2019
      
      * Adds new rules `array-bracket-newline`, `array-element-newline` and `object-curly-newline`.
      * Adds `allowWithDecorator` option to `@typescript-eslint/no-extraneous-class` rule, to allows empty classes when they have decorators.
      * Adds `capIsNew: false` option to `new-cap` rule to allow Decorators and other special cases.
      * Updates `id-match` rule:
        * Allows Type Variable.
        * Adds options to check only Declarations and Object properties, and to ignore Destructurings.
      * Adds new set of rules: [import-eslintrc.js](js/config/configs/import-eslintrc.js)
      * Adds new set of rules: [react-eslintrc.js](js/config/configs/react-eslintrc.js)
      * Removes `extends: '..eslintrc.js'` to allow more freedom on selection of set of rules.
      * Removes `parser` from [typescript-eslintrc.js](js/config/configs/typescript-eslintrc.js), was creating confusions, since it must be explicitly added when using this set of rules.
      36db2866
  14. 26 Nov, 2019 3 commits
  15. 05 Sep, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 3.0.3 - September 2019 · eefe749b
      Gonzalo Müller Bravo authored
      * Adds rules: `UseOnlyWillFamilyMethodsWhenStubbing`, `UseOnlyThenFamilyMethodsWhenMocking`, `DoNotMixBDDandTDD` and `PreferBDDTesting`.
      * Renames `UseOnlyDoFamilyMethodsWhenMocking` rule to `UseDoFamilyMethodsWhenStubbing`.
      * Fixes `LineLength` Codenarc rule, it was not ignoring single quoted strings.
      * Updates README file.
      eefe749b
  16. 03 Sep, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 3.0.2 - September 2019 · 4b9ee269
      Gonzalo Müller Bravo authored
      * Standardize naming convention for Java, Groovy and JS:
        * Updates Codenarc rules: `ClassName`, `FieldName`, `MethodName`, `InterfaceName`, `ParameterName` , `PropertyName` and `VariableName`.
        * Updates Checkstyle rules: `LocalFinalVariableName`, `MemberName`, `MethodName`, `ParameterName` and `TypeName`.
        * Adds Checkstyle rules: `LambdaParameterName`, `ConstantName`.
        * Adds Custom Checkstyle rules: `ConstantNameLength` and `TestTypeName`.
        * Adds Custom Codenarc rules: `ConstantNameLength`, `GradleVariableName`, `GroovyTestClassName` and `GroovyTestMethodName`.
        * Adds `MethodNamingConventions` PMD rule for checking Test files.
        * Adds `id-length` ESlint rule.
        * Adds `@typescript-eslint/generic-type-naming` rule.
        * Updates Checkstyle rules: `ClassTypeParameterName`, `InterfaceTypeParameterName` and `MethodTypeParameterName`.
        * Updates `id-match` ESlint rule.
        * Excludes PMD rules: `FieldNamingConventions`, `FormalParameterNamingConventions`, `GenericsNaming`, `LocalVariableNamingConventions`, `LongVariable`, `ShortClassName`, `ShortVariable` and `ShortMethodName`, cases which are now resolved by Checkstyle rules.
        * Adds required suppressions.
      * Updates `LineLength` Codenarc rule, to be synchronize with Checkstyle `LineLength` rule.
      4b9ee269
  17. 31 Aug, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 3.0.1 - August 2019 · 0ca2e146
      Gonzalo Müller Bravo authored
      * Updates `TooManyMethods` PMD rule and `MethodCount` Codenarc rule to have a limit of 30 methods by class.
      * Updates `ParameterNumber` Checkstyle rule and `TooManyFields` PMD rule to have be consistent with each other, having a limit of 7 fields by class and 7 parameters by method (including constructor).
        * Consequently, `max-params` ESlint rule and `ParameterCount` Codenarc rule were updated.
      * Updates README file.
      0ca2e146
  18. 13 Aug, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 3.0.0 - August 2019 · 5282e7cd
      Gonzalo Müller Bravo authored
      * Breaking changes:
        * Removes `.stylelintrc.json`. (It was not providing any real benefit, with only 1 rule, that conflict with the new convention of defining quotes style locally. Besides stylelint inheritance mechanism does not lend to an easy configuration).
        * Renames `back` folder to `java`, it gives more accurate context.
        * Renames `front` folder to `js`, it gives more accurate context.
      * Fixes compatibility with Checkstyle 8.21:
        * Removes `PARAMETER_DEF` from Rule `AnnotationLocationVariableAndParameter`.
        * Renames `AnnotationLocationVariableAndParameter` to `AnnotationLocationVariable`.
      * Updates _Method Size Rule_ for Checkstyle, CodeNarc & ESLint to 30 lines, which is readable without scrolling, this will increase Mantainability.
      * Disables `CompileStatic` Codenarc rule, since in gradle code is not mandatory.
      * Adds a suppression for `e2eTest`/`E2eTest` files in `ExcessiveImports` PMD rule. (E2E tests tends to be bigger files, having only one big E2E set is useful since loading time is usually bigger and slower than other types of test.)
      * Adds `.typescript-eslintrc.json`.
      * Updates VERSIONS_COMPATIBILITY table.
      * Updates README file.
      5282e7cd
  19. 05 Aug, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.7 - August 2019 · 29c888b8
      Gonzalo Müller Bravo authored
      * Adds `object-curly-spacing` to eslint rules.
      * Improves `LineLength` Checkstyle rule to allow any number of specific tokens at start of the line.
      * Improves `UseMultilineTernaryOperator` Checkstyle rule to avoid a false-positive in Method references.
      * Improves `utilityClassPattern` in `ClassNamingConventions` PMD rule to also allow names defined only with one of established suffixes.
      * Adds `Mappers` suffix to `utilityClassPattern` in `ClassNamingConventions` PMD rule.
      * Updates `EmptyLineSeparator` Checkstyle rule to allow empty line for packages definition.
      * Removes `ExcessiveMethodLength` PMD rule which is already checked by Checkstyle (which allows suppressions for tests).
      * Removes `LoggerIsNotStaticFinal` PMD rule which was preventing Logger injection, useful in some special cases.
      * Adds `SuppressWarningsFilter` to Checkstyle in order to be consistent with PMD, allowing suppressions of rule in code for special cases using `@SuppressWarnings` annotation.
      29c888b8
  20. 23 Jun, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.6 - June 2019 · ef480e60
      Gonzalo Müller Bravo authored
      * Sets `"ignoreStrings": true, "ignoreTemplateLiterals": in` from `max-len` eslint rule, in order to be consistent with Checkstyle rules.
      * Updates README file.
      ef480e60
  21. 21 May, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.5 - May 2019 · b4469953
      Gonzalo Müller Bravo authored
      * Add a new extension to be checked by Common rules: `pri`.
      * Removes `no-invalid-this` from eslint rules, it gives error on fat arrow member functions, should be set locally in each project as required.
      * Updates README file.
      b4469953
  22. 06 May, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.4 - May 2019 · 555499ee
      Gonzalo Müller Bravo authored
      * Updates `LineLength` Checkstyle rule to allow long string.
      * Adjusts `UseMultilineTernaryOperator` Checkstyle/Codenarc rule to avoid some false positive when defining JSON strings.
      * Updates README file.
      555499ee
  23. 01 May, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.3 - May 2019 · 95af8940
      Gonzalo Müller Bravo authored
      * Enforces 3/23 rule name length limits.
        * Creates `LongMethodName`, a custom rule for CodeNarc rules to limit methods' name size.
        * Adds a suppressions for `ShortVariable` & `ShortMethodName` PMD rules, to allow for `id`, `of`, `k` & `K` names.
        * Adds `id-match` eslint rule to enforce variable/field/method length and to allow for `id`, `of`, `k` & `K` names, as in backend rules.
        * Updates `LocalVariableName` & `LocalFinalVariableName` Checkstyle rules and `LocalVariableNamingConventions` PMD rule to be similar to frontend `id-match` rule.
      * Adds new exceptions and markers to `spaced-comment` eslint rule, to allow special comments, like Flow comments.
      * Adds new extensions to be checked by Common rules: `.c`, `.cpp`, `flowconfig`, `.h`, `.hpp`, `jsx`, `mjs`, `qml`, `pro` & `tsx`.
      * Updates README file.
      95af8940
  24. 24 Apr, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      * New rules for forcing public fields to be `final`: · 2f7d971c
      Gonzalo Müller Bravo authored
        * Checkstyle: Updates `VisibilityModifier` rule to allow public **final** fields.
        * CodeNarc: Disables `PublicInstanceField` rule and Adds security rule set which contains `NonFinalPublicField` rule.
      * Sets priority to `0` (reported but does not cause a failure) for `InstanceOf` rule from CodeNarc.
      * Fixes `AnnotateClassesWith@CompileStaticOr@TypeChecked` Codenarc rule, was not allowing comments.
      * Updates README file.
      2f7d971c
  25. 08 Apr, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.1 - April 2019 · 46ac975e
      Gonzalo Müller Bravo authored
      * Updates `EmptyLineSeparator` Checkstyle rule to allow fields on a class to be immediately below to each other without line between them.
      * Removes `forceStrictCondition` from Checkstyles which allows more freedom on indentation in order to get a code more similar to JS code.
      * Updates Gitlab CI configuration.
      * Updates README file.
        * Adds a new section `Code Style convention/tips`, in order to talk about some code style conventions which allow to improve Readability and also allow more code style consistency between Java, Groovy and JS code, since some rules between them cannot be exactly equally defined.
      46ac975e
  26. 27 Mar, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.0 - March 2019 · b0b1cd23
      Gonzalo Müller Bravo authored
      * Breaking changes:
        * Changes `gradle` folder name to `groovy`.
        * Changes `gradle-rules.groovy` file name to `groovy-rules.groovy`.
        * Removes `"extends"` from `.eslintrc.json`, it was not allowing for proper eslint config cascading. (It's not really "breaking" change, but the assumption that extends "eslint:recommended" is lost).
      * Adds Versions Compatibility Table.
      * Updates Gitlab CI configuration.
      * Upgrades Gradle to version 5.3.
      * Updates README file.
      b0b1cd23
  27. 26 Mar, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 2.0.0 - March 2019 · c12cef1e
      Gonzalo Müller Bravo authored
      * Removes `"extends"` from `.eslintrc.json`, it was not allowing for proper eslint config cascading.
      * Adds the `design` rule set to Codenarc.
      * Strengthen import rules in Javascript, makes it more consistent with Defined Backend rules:
        * Adds `sort-imports`, `no-duplicate-imports`, `no-new-require` and `no-mixed-requires`.
      * Updates the eslint rules with `operator-linebreak` and the checkstyle checks with `WrapOp` in order to check for line breaks on operators, operator must be on a new line, this with the intention of increasing Readability.
      * Updates Codenarc rules `SpaceAfterOpeningBrace` & `SpaceBeforeClosingBrace` to ignore empty blocks.
      * Excludes Codenarc rule `UnnecessaryReturnKeyword` in order to increase Readability, some cases may be ok, like a method with one statement. Additionally, explicitly using `return` may increase code coverage values.
      * Excludes Codenarc rule `UnnecessaryCast`, in some case is required the use of a cast, e.g. an empty List of String `[] as List<String>`.
      * Excludes new Codenarc rules `ClassEndsWithBlankLine` & `ClassStartsWithBlankLine`.
      * Updates Codenarc exclusion to the new format using `(enabled: false)`, which allows for better rules version validation.
      c12cef1e
  28. 11 Mar, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 1.0.14 - March 2019 · 97fcabe8
      Gonzalo Müller Bravo authored
      * Removes `quotes` from eslint rules, should be set based on Backend language (or preference), for Groovy could be set to `'` -> `"quotes": ["quotes", "single"]`, for C++, Java or QML could be set to `"` ->  `"quotes": ["quotes", "double"]`.
      * Removes `semi` from eslint rules, should be set based on Backend language (or preference), for Groovy or QML could be set to `"semi": ["quotes", "never"]`, for C++ or Java could be set to `"semi": ["quotes", "always"]`.
      * Updates `indent` eslint rules to enforce different indentation in function declarations.
      * Updates DOCTYPE's FPI and URI for checkstyle files.
      * Adds new exceptions and markers to `spaced-comment`, to allow special comments, like Flow comments.
      * Updates README file.
      97fcabe8
  29. 19 Feb, 2019 1 commit
    • Gonzalo Müller Bravo's avatar
      ## 1.0.13 - February 2019 · bc26b0b3
      Gonzalo Müller Bravo authored
      * Removes `requires-jsdoc` from eslint rules, as in Java checks, favoring self-documented code and agile development, and not forcing documentation.
      * Adds exceptions and markers to `spaced-comment`, to allow special comments, like Flow comments.
      * Adds Smoke Tests for .eslintrc and .stylelintrc.
      * Updates README file.
      bc26b0b3
  30. 17 Feb, 2019 4 commits
    • Gonzalo Müller Bravo's avatar
      Tunnes .gitlab-ci.yml · ef325e17
      Gonzalo Müller Bravo authored
      ef325e17
    • Gonzalo Müller Bravo's avatar
      ## February 2018 B · 6cc0040c
      Gonzalo Müller Bravo authored
      * Adds gitlab-ci.yml.
      * Updates build.gradle.
      * Updates README file.
      6cc0040c
    • Gonzalo Müller Bravo's avatar
      ## 1.0.12 - February 2019 · b3cdac39
      Gonzalo Müller Bravo authored
      * Remove `UnnecessaryPublicModifier` from CodeNarc's rules, switching between different languages, for example Java, Groovy and C ++, the change can become confusing with the default modifiers, this will allow using modifiers always, and forgetting what is the default value.
      * Changes `CustomImportOrder` check to give more freedom to import on java, due to all this mixing of programming languages can be in a project, it's "better" to only require alphabetical order.
      * Fixes `CallOnlyOneMethodPerLineForChainedCall` check, it was giving false positives for split calls and had some problems with Casts.
      * Fixes `UseMultilineTernaryOperator` Checkstyle check, it had some XML CDATA error.
      * Adds Tests for Regular Expressions.
        * Updates [`build.gradle`](/build.gradle) for adding respective dependencies.
      * Upgrades Gradle to version 5.2.1.
      * Updates README file.
      b3cdac39
    • Gonzalo Müller Bravo's avatar
      ## February 2018 · 866b3d55
      Gonzalo Müller Bravo authored
      * Moves configuration files from config/ to src/config (may get confused with project config files).
      866b3d55
  31. 09 Dec, 2018 1 commit