Closed JimSchofield closed 4 years ago
We should ensure your editor is setup to work with WordPress coding standards. Things like aligning equal signs and spaces after open pren and before closing. https://jasonyingling.me/setting-up-wordpress-coding-standards-in-visual-studio-code/
Now that I merged, this, I can't get my gutenberg block to load locally. No errors either.
We should ensure your editor is setup to work with WordPress coding standards. Things like aligning equal signs and spaces after open pren and before closing. https://jasonyingling.me/setting-up-wordpress-coding-standards-in-visual-studio-code/
I was looking through https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/ and I'm a little confused why ESlint from wp core is not enforcing some of these things.
Adding eslint that is trying to conform to wordpress linting standards Adding prettier file Removing redundant js file Adding scripts to package.json. To run a build or watch in webpack you can now do
npm run build
orwatch
.TODO:
@wordpress/i18n-text-domain: Invalid text domain 'pdf-js-block'