Skip to content

Remove copyright header#1097

Merged
samouri merged 3 commits intoampproject:mainfrom
samouri:rm-cc
Sep 23, 2021
Merged

Remove copyright header#1097
samouri merged 3 commits intoampproject:mainfrom
samouri:rm-cc

Conversation

@samouri
Copy link
Copy Markdown
Member

@samouri samouri commented Sep 23, 2021

summary

Per conversations with OpenJS and Google, we have permission to remove the notice at the top of each AMPHTML source file.

I believe this applies to all ampproject code: ampproject/amphtml#35717 (comment)

changes made

  • Project wide find/replace for CC header from years 2017 --> 2021
  • npx prettier --config .prettierrc --write **/*.ts

@samouri samouri self-assigned this Sep 23, 2021
@samouri samouri marked this pull request as ready for review September 23, 2021 19:55
onMouseLeave={handleMouseLeave}
/>
);
return <rect x={x} y={y} width="180" height="180" fill={fill} stroke="black" onMouseEnter={handleMouseEnter} onMouseLeave={handleMouseLeave} />;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change? This is ugly/harder to read imo

Copy link
Copy Markdown
Member Author

@samouri samouri Sep 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the description above.
Don't take it up with me, take it up with the .prettierrc :)

Which for the record, I'm ok with changing. I have very little preference re. printWidth

@samouri samouri merged commit da975ce into ampproject:main Sep 23, 2021
@samouri samouri deleted the rm-cc branch September 23, 2021 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants