Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 1f85c8b

Browse files
committed
chore: reformat
1 parent fe50119 commit 1f85c8b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+511
-960
lines changed

package-lock.json

Lines changed: 129 additions & 577 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# babel-plugin-react-intl
22

3-
We've migrated the README to [here](../../website/docs/tooling/babel-plugin.md).
3+
We've migrated the README to [here](../../website/docs/tooling/babel-plugin.md).

packages/babel-plugin-react-intl/test/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe('options', () => {
6565
// Check message output
6666
expect(require(join(fixtureDir, 'actual.json'))).toMatchSnapshot();
6767
});
68-
it('outputEmptyJson should output empty files', function () {
68+
it('outputEmptyJson should output empty files', function() {
6969
const fixtureDir = join(fixturesDir, 'outputEmptyJson');
7070

7171
const actual = transform(join(fixtureDir, 'actual.js'), {
@@ -78,7 +78,7 @@ describe('options', () => {
7878
// Check message output
7979
expect(require(join(fixtureDir, 'actual.json'))).toMatchSnapshot();
8080
});
81-
it('without outputEmptyJson should output empty files', function () {
81+
it('without outputEmptyJson should output empty files', function() {
8282
const fixtureDir = join(fixturesDir, 'empty');
8383

8484
const actual = transform(join(fixtureDir, 'actual.js'), {})!.code;

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# @formatjs/cli
22

3-
We've migrated the README to [here](../../website/docs/tooling/cli.md).
3+
We've migrated the README to [here](../../website/docs/tooling/cli.md).
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# eslint-plugin-formatjs
22

3-
We've migrated the README to [here](../../website/docs/tooling/linter.md).
3+
We've migrated the README to [here](../../website/docs/tooling/linter.md).

packages/eslint-plugin-formatjs/src/rules/no-multiple-whitespaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function checkNode(
2727
message: 'Multiple consecutive whitespaces are not allowed',
2828
};
2929
if (messageNode.type === 'Literal' && messageNode.raw) {
30-
reportObject.fix = function (fixer) {
30+
reportObject.fix = function(fixer) {
3131
return fixer.replaceText(
3232
messageNode as Node,
3333
messageNode.raw!.replace(MULTIPLE_SPACES, ' ')

packages/formatjs-extract-cldr-data/src/extract-relative.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function transformFieldData(data: Fields['week']): FieldData {
9393
future: {},
9494
past: {},
9595
};
96-
Object.keys(data).forEach(function (key) {
96+
Object.keys(data).forEach(function(key) {
9797
const type = key.match(/^(relative|relativeTime)-type-(.+)$/) || [];
9898

9999
switch (type[1]) {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import extractCurrencies from '../src/extract-currencies';
22

3-
describe('extract-currencies', function () {
4-
it('should be able to extract en', function () {
3+
describe('extract-currencies', function() {
4+
it('should be able to extract en', function() {
55
expect(extractCurrencies(['en'])).toMatchSnapshot();
66
});
7-
it('should be able to extract uk', function () {
7+
it('should be able to extract uk', function() {
88
expect(extractCurrencies(['uk'])).toMatchSnapshot();
99
});
1010
});
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import extractDisplayNames from '../src/extract-displaynames';
22

3-
describe('extract-units', function () {
4-
it('should be able to extract en', function () {
3+
describe('extract-units', function() {
4+
it('should be able to extract en', function() {
55
expect(extractDisplayNames(['en'])).toMatchSnapshot();
66
});
7-
it('should be able to extract vi', function () {
7+
it('should be able to extract vi', function() {
88
expect(extractDisplayNames(['vi'])).toMatchSnapshot();
99
});
10-
it('should be able to extract ja', function () {
10+
it('should be able to extract ja', function() {
1111
expect(extractDisplayNames(['ja'])).toMatchSnapshot();
1212
});
1313
});
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import extractNumbers from '../src/extract-numbers';
22

3-
describe('extract-numbers', function () {
4-
it('should be able to extract en', function () {
3+
describe('extract-numbers', function() {
4+
it('should be able to extract en', function() {
55
expect(extractNumbers(['en'])).toMatchSnapshot();
66
});
7-
it('should be able to extract vi', function () {
7+
it('should be able to extract vi', function() {
88
expect(extractNumbers(['vi'])).toMatchSnapshot();
99
});
1010
});

0 commit comments

Comments
 (0)