Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiandupont committed Dec 8, 2021
1 parent 4ae67d4 commit 579afed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/nameInflection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const irregularPlurals = require('irregular-plurals/irregular-plurals.json');

const singulars = R.keys(irregularPlurals);
const plurals = R.values(irregularPlurals);
const trimSeparators = (s) => s.replace(/^(\-|_)+|(\-|_)+$/g, '');
const trimSeparators = (s) => s.replace(/^(-|_)+|(-|_)+$/g, '');

const detectInflection = (word) => {
const words = word
Expand Down
1 change: 1 addition & 0 deletions src/rules/types.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global assertJSONBReport, assertTextReport, assertIdentityReport */
import * as types from './types';

describe('types', () => {
Expand Down
2 changes: 2 additions & 0 deletions test/helpers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable no-undef */

global.assertReport = (
mockReporter,
expectedRule,
Expand Down

0 comments on commit 579afed

Please sign in to comment.