Skip to content

Commit

Permalink
Merge pull request #1 from SiddharthShyniben/next
Browse files Browse the repository at this point in the history
Version 1.0.0
  • Loading branch information
SiddharthShyniben authored May 20, 2021
2 parents e9685a2 + 141d207 commit f696a01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"scripts": {
"test": "npm run lint && jest --config jest.config.json",
"lint": "xo --fix",
"lint": "xo",
"build": "tsc",
"prepare": "npm run build",
"prepublishOnly": "npm run test && npm run lint",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {regex} from '../index';
it('should build regexes properly', () => {
expect(regex``).toStrictEqual(/(?:)/);
/* eslint-disable-next-line unicorn/better-regex */
expect(regex`[0-9]`).toStrictEqual(/[0-9]+/);
expect(regex`[0-9]`).toStrictEqual(/[0-9]/);
expect(regex`
// Here's a comment
\d+
Expand Down

0 comments on commit f696a01

Please sign in to comment.