moxystudio / eslint-config

MOXY eslint configuration to be used across several JavaScript projects
MIT License
13 stars 5 forks source link

feat: add lowercase-name rule #107

Closed threequartersjohn closed 4 years ago

threequartersjohn commented 4 years ago

Resolves https://github.com/moxystudio/eslint-config/issues/106

Adds lowercase-name rule to our Jest ESLint config. This rule makes it so test names must begin with a lowercase letter.

// Bad 
it('Bad test name', () => {});
// Good
it('good test name', () => {});
codecov[bot] commented 4 years ago

Codecov Report

Merging #107 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #107   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           49        49           
  Lines           61        61           
  Branches         1         1           
=========================================
  Hits            61        61           
Impacted Files Coverage Δ
packages/eslint-config-jest/lib/rules/jest.js 100.00% <ø> (ø)

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 18bb567...e25c49c. Read the comment docs.