Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
fix: remove empty lines (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
seren5240 authored Dec 5, 2023
1 parent 89bc0c6 commit 4346973
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .grit/patterns/importing.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ import { orderBy } from 'lodash';
import { v4 } from 'uuid';

import fetch from 'elsewhere';

import { more } from 'node-fetch';

import defaultNotNamedFetch from 'node-fetch';

console.log(orderBy([1, 2, 3]));
Expand Down Expand Up @@ -94,7 +92,6 @@ import { orderBy } from 'lodash';
import { v4 } from 'uuid';

import fetch from 'elsewhere';

import { more } from 'node-fetch';

console.log(orderBy([1, 2, 3]));
Expand Down
2 changes: 0 additions & 2 deletions .grit/patterns/jest_array_containing.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ describe('test', () => {
it('consolidates', async () => {
const values = ['console.log($9o)', 'console.log($x)', 'PatternWithArgs($arg)'];
const anotherValues = ['nine'];

expect(anotherValues).toEqual(expect.arrayContaining([expect.stringContaining('nine')]));

expect(values).toEqual(
expect.arrayContaining([
expect.stringContaining('console.log($9o)'),
Expand Down
2 changes: 0 additions & 2 deletions .grit/patterns/no_commented_out_code.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ var times = (x, y) => {
```js
var increment = function (i) {
console.log("hi")


const answer = 42;
return i + 1;
};
Expand Down
1 change: 0 additions & 1 deletion .grit/patterns/remove_escape_markup.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ object.escapeMarkup = false;

```typescript
something;

something(els);
```

0 comments on commit 4346973

Please sign in to comment.