and-end/obibok

View on GitHub
packages/app/tailwind.config.js

Summary

Maintainability
D
2 days
Test Coverage

File tailwind.config.js has 481 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module.exports = {
  prefix: '',
  important: false,
  separator: ':',
  theme: {
Severity: Minor
Found in packages/app/tailwind.config.js - About 7 hrs to fix

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

          green: {
            100: '#f0fff4',
            200: '#c6f6d5',
            300: '#9ae6b4',
            400: '#68d391',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          teal: {
            100: '#e6fffa',
            200: '#b2f5ea',
            300: '#81e6d9',
            400: '#4fd1c5',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          gray: {
            100: '#F2F2F2',
            200: '#DFDFDF',
            300: '#CBCBCB',
            400: '#A4A4A4',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          yellow: {
            100: '#fffff0',
            200: '#fefcbf',
            300: '#faf089',
            400: '#f6e05e',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          purple: {
            100: '#faf5ff',
            200: '#e9d8fd',
            300: '#d6bcfa',
            400: '#b794f4',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 2 locations. Consider refactoring.
    Open

        backgroundPosition: {
          bottom: 'bottom',
          center: 'center',
          left: 'left',
          'left-bottom': 'left bottom',
    Severity: Minor
    Found in packages/app/tailwind.config.js and 1 other location - About 50 mins to fix
    packages/app/tailwind.config.js on lines 334..344

    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 51.

    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 10 locations. Consider refactoring.
    Open

          red: {
            100: '#fff5f5',
            200: '#fed7d7',
            300: '#feb2b2',
            400: '#fc8181',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          blue: {
            100: '#ebf8ff',
            200: '#bee3f8',
            300: '#90cdf4',
            400: '#63b3ed',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          indigo: {
            100: '#ebf4ff',
            200: '#c3dafe',
            300: '#a3bffa',
            400: '#7f9cf5',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 2 locations. Consider refactoring.
    Open

        objectPosition: {
          bottom: 'bottom',
          center: 'center',
          left: 'left',
          'left-bottom': 'left bottom',
    Severity: Minor
    Found in packages/app/tailwind.config.js and 1 other location - About 50 mins to fix
    packages/app/tailwind.config.js on lines 159..169

    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 51.

    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 10 locations. Consider refactoring.
    Open

          orange: {
            100: '#fffaf0',
            200: '#feebc8',
            300: '#fbd38d',
            400: '#f6ad55',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124
    packages/app/tailwind.config.js on lines 125..135

    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 51.

    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 10 locations. Consider refactoring.
    Open

          pink: {
            100: '#fff5f7',
            200: '#fed7e2',
            300: '#fbb6ce',
            400: '#f687b3',
    Severity: Major
    Found in packages/app/tailwind.config.js and 9 other locations - About 50 mins to fix
    packages/app/tailwind.config.js on lines 26..36
    packages/app/tailwind.config.js on lines 37..47
    packages/app/tailwind.config.js on lines 48..58
    packages/app/tailwind.config.js on lines 59..69
    packages/app/tailwind.config.js on lines 70..80
    packages/app/tailwind.config.js on lines 81..91
    packages/app/tailwind.config.js on lines 92..102
    packages/app/tailwind.config.js on lines 103..113
    packages/app/tailwind.config.js on lines 114..124

    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 51.

    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

    There are no issues that match your filters.

    Category
    Status