Skip to content

Commit da5132f

Browse files
committed
Auto-generated commit
1 parent d1b93f0 commit da5132f

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Milan Raj <rajsite@users.noreply.github.com>
2020
Momtchil Momtchev <momtchil@momtchev.com>
2121
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
2222
Philipp Burckhardt <pburckhardt@outlook.com>
23+
Pranav <85227306+Pranavchiku@users.noreply.github.com>
2324
Ricky Reusser <rsreusser@gmail.com>
2425
Ryan Seal <splrk@users.noreply.github.com>
2526
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>

examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var isRegExp = require( './../lib' );
2323
console.log( isRegExp( /.+/ ) );
2424
// => true
2525

26-
console.log( isRegExp( new RegExp( '.+' ) ) );
26+
console.log( isRegExp( new RegExp( '.+' ) ) ); // eslint-disable-line prefer-regex-literals
2727
// => true
2828

2929
console.log( isRegExp( '/.+/' ) );

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ tape( 'main export is a function', function test( t ) {
4444

4545
tape( 'the function returns `true` if provided a regular expression', function test( t ) {
4646
t.strictEqual( isRegExp( /\.+/ ), true, 'returns true' );
47-
t.strictEqual( isRegExp( new RegExp( '\\.+' ) ), true, 'returns true' );
47+
t.strictEqual( isRegExp( new RegExp( '\\.+' ) ), true, 'returns true' ); // eslint-disable-line prefer-regex-literals
4848
t.end();
4949
});
5050

0 commit comments

Comments
 (0)