rofrischmann/bredon

View on GitHub

Showing 459 of 459 total issues

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-synthesis': {
    syntax: 'none | [ weight || style ]',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-feature-settings': {
    syntax: 'normal | <feature-tag-value>#',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-variant-numeric': {
    syntax:
      'normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]',
    media: 'visual',
    inherited: true,
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'text-decoration-style': {
    syntax: 'solid | double | dotted | dashed | wavy',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'line-height': {
    syntax: 'normal | <number> | <length> | <percentage>',
    media: 'visual',
    inherited: true,
    animationType: 'numberOrLength',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'text-shadow': {
    syntax: 'none | <shadow-t>#',
    media: 'visual',
    inherited: true,
    animationType: 'shadowList',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'text-transform': {
    syntax: 'none | capitalize | uppercase | lowercase | full-width',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-family': {
    syntax: '[ <family-name> | <generic-family> ]#',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-variant-alternates': {
    syntax:
      'normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]',
    media: 'visual',
    inherited: true,
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-variant-position': {
    syntax: 'normal | sub | super',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'font-variant-caps': {
    syntax:
      'normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps',
    media: 'visual',
    inherited: true,
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

  'grid-gap': {
    syntax: "<'grid-row-gap'> <'grid-column-gap'>?",
    media: 'visual',
    inherited: false,
    animationType: ['grid-row-gap', 'grid-column-gap'],
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 2 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 613..625
packages/bredon-validate/src/data/__mdnData.js on lines 4863..4875

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

  'text-emphasis': {
    syntax: "<'text-emphasis-style'> || <'text-emphasis-color'>",
    media: 'visual',
    inherited: false,
    animationType: ['text-emphasis-color', 'text-emphasis-style'],
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 2 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 613..625
packages/bredon-validate/src/data/__mdnData.js on lines 3004..3016

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'vertical-align': {
    syntax:
      'baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>',
    media: 'visual',
    inherited: false,
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5315..5328

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 35 locations. Consider refactoring.
Open

  'word-spacing': {
    syntax: 'normal | <length-percentage>',
    media: 'visual',
    inherited: true,
    animationType: 'length',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 34 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 946..959
packages/bredon-validate/src/data/__mdnData.js on lines 960..973
packages/bredon-validate/src/data/__mdnData.js on lines 974..987
packages/bredon-validate/src/data/__mdnData.js on lines 988..1001
packages/bredon-validate/src/data/__mdnData.js on lines 1002..1015
packages/bredon-validate/src/data/__mdnData.js on lines 1016..1029
packages/bredon-validate/src/data/__mdnData.js on lines 1030..1044
packages/bredon-validate/src/data/__mdnData.js on lines 1075..1088
packages/bredon-validate/src/data/__mdnData.js on lines 1089..1102
packages/bredon-validate/src/data/__mdnData.js on lines 2593..2606
packages/bredon-validate/src/data/__mdnData.js on lines 2607..2620
packages/bredon-validate/src/data/__mdnData.js on lines 2621..2634
packages/bredon-validate/src/data/__mdnData.js on lines 2635..2648
packages/bredon-validate/src/data/__mdnData.js on lines 2649..2662
packages/bredon-validate/src/data/__mdnData.js on lines 2663..2676
packages/bredon-validate/src/data/__mdnData.js on lines 2677..2690
packages/bredon-validate/src/data/__mdnData.js on lines 2691..2705
packages/bredon-validate/src/data/__mdnData.js on lines 2706..2719
packages/bredon-validate/src/data/__mdnData.js on lines 2720..2733
packages/bredon-validate/src/data/__mdnData.js on lines 2734..2748
packages/bredon-validate/src/data/__mdnData.js on lines 2749..2763
packages/bredon-validate/src/data/__mdnData.js on lines 2764..2778
packages/bredon-validate/src/data/__mdnData.js on lines 2779..2793
packages/bredon-validate/src/data/__mdnData.js on lines 2794..2808
packages/bredon-validate/src/data/__mdnData.js on lines 2809..2823
packages/bredon-validate/src/data/__mdnData.js on lines 2824..2837
packages/bredon-validate/src/data/__mdnData.js on lines 2838..2852
packages/bredon-validate/src/data/__mdnData.js on lines 3329..3342
packages/bredon-validate/src/data/__mdnData.js on lines 4808..4821
packages/bredon-validate/src/data/__mdnData.js on lines 4822..4835
packages/bredon-validate/src/data/__mdnData.js on lines 4849..4862
packages/bredon-validate/src/data/__mdnData.js on lines 4982..4995
packages/bredon-validate/src/data/__mdnData.js on lines 5009..5022
packages/bredon-validate/src/data/__mdnData.js on lines 5221..5235

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Similar blocks of code found in 3 locations. Consider refactoring.
Open

  '-webkit-text-stroke': {
    syntax: '<length> || <color>',
    media: 'visual',
    inherited: true,
    animationType: ['-webkit-text-stroke-width', '-webkit-text-stroke-color'],
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 2 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 3004..3016
packages/bredon-validate/src/data/__mdnData.js on lines 4863..4875

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 72.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Function isValidProperty has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function isValidProperty(
  property: string,
  ast: any,
  isList?: boolean = false
): boolean {
Severity: Minor
Found in packages/bredon-validate/src/isValidProperty.js - About 1 hr to fix

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      'list-style': {
        syntax:
          "<'list-style-type'> || <'list-style-position'> || <'list-style-image'>",
        media: 'visual',
        inherited: true,
    Severity: Major
    Found in packages/bredon-validate/src/data/__mdnData.js and 4 other locations - About 1 hr to fix
    packages/bredon-validate/src/data/__mdnData.js on lines 1130..1142
    packages/bredon-validate/src/data/__mdnData.js on lines 1182..1194
    packages/bredon-validate/src/data/__mdnData.js on lines 1469..1481
    packages/bredon-validate/src/data/__mdnData.js on lines 1521..1533

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 71.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      'border-block-start': {
        syntax: "<'border-width'> || <'border-style'> || <'color'>",
        media: 'visual',
        inherited: false,
        animationType: 'discrete',
    Severity: Major
    Found in packages/bredon-validate/src/data/__mdnData.js and 4 other locations - About 1 hr to fix
    packages/bredon-validate/src/data/__mdnData.js on lines 1130..1142
    packages/bredon-validate/src/data/__mdnData.js on lines 1469..1481
    packages/bredon-validate/src/data/__mdnData.js on lines 1521..1533
    packages/bredon-validate/src/data/__mdnData.js on lines 3356..3369

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 71.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 5 locations. Consider refactoring.
    Open

      'border-block-end': {
        syntax: "<'border-width'> || <'border-style'> || <'color'>",
        media: 'visual',
        inherited: false,
        animationType: 'discrete',
    Severity: Major
    Found in packages/bredon-validate/src/data/__mdnData.js and 4 other locations - About 1 hr to fix
    packages/bredon-validate/src/data/__mdnData.js on lines 1182..1194
    packages/bredon-validate/src/data/__mdnData.js on lines 1469..1481
    packages/bredon-validate/src/data/__mdnData.js on lines 1521..1533
    packages/bredon-validate/src/data/__mdnData.js on lines 3356..3369

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 71.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Severity
    Category
    Status
    Source
    Language