Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configuration for eslint (linting subdirectories; activating jest rules #1926

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

BePo65
Copy link
Contributor

@BePo65 BePo65 commented Jun 5, 2022

The configuration for eslint had 2 minor topics:

  • lintingwas only activated for directories 'src', 'test' and 'build' but not for the subdirectories of these directories
  • jest rules for eslint were loaded (property "plugins" in .eslintrc.json) but not activated

Fixes these topics and removed the newly identified warnings.

@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

Merging #1926 (7efe3cc) into dev (9ef1714) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##               dev     #1926    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          175       181     +6     
  Lines         1697      2064   +367     
  Branches       387       538   +151     
==========================================
+ Hits          1697      2064   +367     
Impacted Files Coverage Δ
src/locale/bo.js 100.00% <ø> (ø)
src/locale/br.js 100.00% <ø> (ø)
src/locale/de.js 100.00% <ø> (ø)
src/locale/es-do.js 100.00% <ø> (ø)
src/locale/es-pr.js 100.00% <ø> (ø)
src/locale/es-us.js 100.00% <ø> (ø)
src/locale/es.js 100.00% <ø> (ø)
src/locale/fi.js 100.00% <ø> (ø)
src/locale/it-ch.js 100.00% <ø> (ø)
src/locale/lt.js 100.00% <ø> (ø)
... and 95 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 47f5b69...7efe3cc. Read the comment docs.

@@ -139,16 +139,7 @@ describe('Clone', () => {
})

describe('Milliseconds', () => {
expect(dayjs.duration(500).milliseconds()).toBe(500)
Copy link
Owner

@iamkun iamkun Jun 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this PR is a little confused to me.

Is these unit cases modification not relevant to this PR, or coming from some of your other PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants