Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ dist/*
docs-built/*
vendor/*
gulp-tasks/*
tests/cypress/reports/*
tests/cypress/videos/*
tests/cypress/screenshots/*
27 changes: 26 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
{
"extends": [ "plugin:@wordpress/eslint-plugin/recommended" ],
"settings": {
"import/core-modules": [ "jquery", "underscore" ]
"import/core-modules": [
"@wordpress/a11y",
"@wordpress/api-fetch",
"@wordpress/api-request",
"@wordpress/blob",
"@wordpress/block-editor",
"@wordpress/blocks",
"@wordpress/components",
"@wordpress/compose",
"@wordpress/data",
"@wordpress/date",
"@wordpress/dom-ready",
"@wordpress/dom",
"@wordpress/edit-post",
"@wordpress/element",
"@wordpress/hooks",
"@wordpress/i18n",
"@wordpress/keyboard-shortcuts",
"@wordpress/keycodes",
"@wordpress/plugins",
"@wordpress/primitives",
"@wordpress/rich-text",
"@wordpress/url",
"jquery",
"underscore"
]
},
"rules": {
"import/no-extraneous-dependencies": ["error", {"packageDir": ["./", "./node_modules/@wordpress/scripts"] }]
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
4 changes: 2 additions & 2 deletions assets/js/gutenberg-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const RenderDistributedFrom = () => {
<div>
<span id="distributed-from">
{ sprintf(
/* translators: 1: Syndication date and time. */
/* translators: 1: Syndication date and time; 2: Original location name */
__(
'Pulled & linked on %1$s from %2$s',
'distributor'
Expand Down Expand Up @@ -210,7 +210,7 @@ const RenderDistributedFrom = () => {
<div>
<span id="distributed-from">
{ sprintf(
/* translators: 1: Syndication date and time. */
/* translators: 1: Syndication date and time; 2: Original location name */
__( 'Pulled on %1$s from %2$s', 'distributor' ),
dtGutenberg.syndicationTime,
dtGutenberg.originalLocationName
Expand Down
Loading
Loading