rofrischmann/fela

View on GitHub

Showing 412 of 412 total issues

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-prefixer/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-beautifier/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-embedded/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-fallback-value/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-extend/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-named-keys/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-logger/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-expand-shorthand/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-unit/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-custom-property/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-multiple-selectors/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-isolation/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-fullscreen-prefixer/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-pseudo-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

Identical blocks of code found in 41 locations. Consider refactoring.
Open

module.exports = {
  mode: 'production',
  entry: './index',
  context: path.resolve(__dirname, './src'),
  output: {
Severity: Major
Found in packages/fela-plugin-pseudo-prefixer/webpack.config.js and 40 other locations - About 5 hrs to fix
packages/fela-beautifier/webpack.config.js on lines 14..43
packages/fela-enforce-longhands/webpack.config.js on lines 14..43
packages/fela-layout-debugger/webpack.config.js on lines 14..43
packages/fela-logger/webpack.config.js on lines 14..43
packages/fela-monolithic/webpack.config.js on lines 14..43
packages/fela-perf/webpack.config.js on lines 14..43
packages/fela-plugin-bidi/webpack.config.js on lines 14..43
packages/fela-plugin-custom-property/webpack.config.js on lines 14..43
packages/fela-plugin-embedded/webpack.config.js on lines 14..43
packages/fela-plugin-expand-shorthand/webpack.config.js on lines 14..43
packages/fela-plugin-extend/webpack.config.js on lines 14..43
packages/fela-plugin-friendly-pseudo-class/webpack.config.js on lines 14..43
packages/fela-plugin-fullscreen-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-hover-media/webpack.config.js on lines 14..43
packages/fela-plugin-important/webpack.config.js on lines 14..43
packages/fela-plugin-isolation/webpack.config.js on lines 14..43
packages/fela-plugin-kebab-case/webpack.config.js on lines 14..43
packages/fela-plugin-logger/webpack.config.js on lines 14..43
packages/fela-plugin-multiple-selectors/webpack.config.js on lines 14..43
packages/fela-plugin-named-keys/webpack.config.js on lines 14..43
packages/fela-plugin-native-media-query/webpack.config.js on lines 14..43
packages/fela-plugin-placeholder-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-prefixer/webpack.config.js on lines 14..43
packages/fela-plugin-responsive-value/webpack.config.js on lines 14..43
packages/fela-plugin-rtl/webpack.config.js on lines 14..43
packages/fela-plugin-simulate/webpack.config.js on lines 14..43
packages/fela-plugin-theme-value/webpack.config.js on lines 14..43
packages/fela-plugin-unit/webpack.config.js on lines 14..43
packages/fela-plugin-validator/webpack.config.js on lines 14..43
packages/fela-preset-dev/webpack.config.js on lines 14..43
packages/fela-preset-web/webpack.config.js on lines 14..43
packages/fela-sort-classnames/webpack.config.js on lines 14..43
packages/fela-sort-media-query-mobile-first/webpack.config.js on lines 14..43
packages/fela-statistics/webpack.config.js on lines 14..43
packages/fela-utils/webpack.config.js on lines 14..43
packages/fela-dom/webpack.config.js on lines 14..43
packages/fela-identifier/webpack.config.js on lines 14..43
packages/fela-plugin-fallback-value/webpack.config.js on lines 14..43
packages/fela-tools/webpack.config.js on lines 14..43
packages/fela/webpack.config.js on lines 14..43

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

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

describe('Placeholder prefixer plugin', () => {
  it('should add placeholder prefixes', () => {
    const style = {
      width: 20,
      '::placeholder': {
packages/fela-plugin-fullscreen-prefixer/src/__tests__/fullscreenPrefixer-test.js on lines 3..31

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

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

describe('Fullscreen prefixer plugin', () => {
  it('should add fullscreen prefixes', () => {
    const style = {
      width: 20,
      ':fullscreen': {
packages/fela-plugin-placeholder-prefixer/src/__tests__/placeholderPrefixer-test.js on lines 3..31

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

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

  it('should fallback to strings if no value is found', () => {
    const themeMapping = {
      color: (t) => t.colors,
      backgroundColor: (t) => t.colors,
      fontFamily: (t) => t.fonts,
packages/fela-plugin-theme-value/src/__tests__/themeValue-test.js on lines 21..41

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

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