Skip to content

Commit 35c68d4

Browse files
Update LICENSE and remove license header from source files (#1960)
1 parent b571812 commit 35c68d4

File tree

246 files changed

+245
-1949
lines changed

Some content is hidden

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

246 files changed

+245
-1949
lines changed

.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ rules:
3434
flowtype/require-readonly-react-props: off
3535
flowtype/require-return-type: off
3636
flowtype/require-types-at-top: off
37-
flowtype/require-valid-file-annotation: [error, always, { annotationStyle: block }]
37+
flowtype/require-valid-file-annotation: [error, always, { annotationStyle: line }]
3838
flowtype/require-variable-type: off
3939
flowtype/sort-keys: off
4040
flowtype/spread-exact-type: off

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Facebook, Inc. and its affiliates.
3+
Copyright (c) 2019 GraphQL Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

resources/benchmark.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @noflow
8-
*/
1+
// @noflow
92

103
'use strict';
114

resources/build.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @noflow
8-
*/
1+
// @noflow
92

103
'use strict';
114

resources/check-cover.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @noflow
8-
*/
1+
// @noflow
92

103
'use strict';
114

resources/gen-changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @noflow */
1+
// @noflow
22

33
'use strict';
44

resources/gen-version.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @noflow
8-
*/
1+
// @noflow
92

103
'use strict';
114

125
const { version } = require('../package.json');
136
const { writeFile, parseSemver } = require('./utils');
147

158
const versionInfo = parseSemver(version);
16-
const body = `/**
17-
* Copyright (c) Facebook, Inc. and its affiliates.
18-
*
19-
* This source code is licensed under the MIT license found in the
20-
* LICENSE file in the root directory of this source tree.
21-
*
22-
* @flow strict
23-
*/
9+
const body = `// @flow strict
2410
2511
/**
2612
* Note: This file is autogenerated using "resources/gen-version.js" script and

resources/inline-invariant.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @noflow
8-
*/
1+
// @noflow
92

103
'use strict';
114

resources/utils.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @noflow
8-
*/
1+
// @noflow
92

103
'use strict';
114

src/__fixtures__/index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/**
2-
* Copyright (c) Facebook, Inc. and its affiliates.
3-
*
4-
* This source code is licensed under the MIT license found in the
5-
* LICENSE file in the root directory of this source tree.
6-
*
7-
* @flow strict
8-
*/
1+
// @flow strict
92

103
import { join } from 'path';
114
import { readFileSync } from 'fs';

0 commit comments

Comments
 (0)