Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

February 13th, 2019 #87

Closed
lenaorobei opened this issue Feb 11, 2019 · 9 comments
Closed

February 13th, 2019 #87

lenaorobei opened this issue Feb 11, 2019 · 9 comments
Labels
meeting notes Topic requests and notes from meetings

Comments

@lenaorobei
Copy link
Contributor

lenaorobei commented Feb 11, 2019

Please add your topic as a comment to the issue. Use following format:
Topic description and link to PR, if any (duration in min)

Meeting Notes

  • Vote on version specific rules
  • Research on count in loop
  • Need feedback on setTemplate
  • Review and comment on commits verification tool

Recording: no recording due to tech difficulties

@buskamuza buskamuza added the meeting notes Topic requests and notes from meetings label Feb 13, 2019
@diazwatson
Copy link

diazwatson commented Feb 13, 2019

I won't be able to attend this time (I will watch the recording later on) but I was wondering...
What about adding rules and sniffs for CSS and JS?

I know that PHP_CodeSniffer tool can be also used for this but I have not seen anything related in the Magento Extension Quality Program Coding Standard

It would be nice if somebody can answer this.
Thanks in advance

@orlangur
Copy link
Contributor

@diazwatson there are a lot of such sniffs in main repo: https://github.com/magento/magento2/tree/2.3-develop/dev/tests/static/framework/Magento/Sniffs/Less

For JS another tooling from JS-ecosystem is used currently but I do agree that it would be nice to make JS code as much consistent with PHP as possible.

@orlangur
Copy link
Contributor

@diazwatson,

I know that PHP_CodeSniffer tool can be also used for this but I have not seen anything related in the Magento Extension Quality Program Coding Standard

https://github.com/magento/magento-coding-standard repo for now is more like a new incarnation of MEQP repo rather than a real Magento standard existed for years.

@diazwatson
Copy link

diazwatson commented Feb 13, 2019

It would be nice to re organise all those repos (and maybe the sniffs in https://github.com/magento/magento2/tree/2.3-develop/dev/tests/static/framework/Magento/Sniffs/*) in just one place.

That would be a great topic of discussion for sure

@lenaorobei
Copy link
Contributor Author

lenaorobei commented Feb 13, 2019

@diazwatson

It would be nice to re organise all those repos (and maybe the sniffs in https://github.com/magento/magento2/tree/2.3-develop/dev/tests/static/framework/Magento/Sniffs/*) in just one place.

That's exactly what magento/magento-coding-standard stands for. Here is the related task - magento/magento-coding-standard#4

@orlangur
Copy link
Contributor

@diazwatson,

It would be nice to re organise all those repos (and maybe the sniffs in https://github.com/magento/magento2/tree/2.3-develop/dev/tests/static/framework/Magento/Sniffs/*) in just one place.

Yep, moving existing and working stuff from static tests somewhere to https://github.com/magento/magento2/tree/2.3-develop/lib/internal/Magento/Framework instead of making one more repo (reminds me https://xkcd.com/927/) and then improving it iteration-by-iteration with MEQP and other useful sniffs would be really great. Approach described in issue mentioned by Lena is kinda opposite.

@diazwatson
Copy link

diazwatson commented Feb 13, 2019

Great news @orlangur @lenaorobei !!!
Will the rules and sniffs from MEQP1 be also included in this new all in one standard repo?

@lenaorobei
Copy link
Contributor Author

@diazwatson Magento Coding Standard will include rules for Magento 2.x only.
MEQP1 will remain the part of Marketplace until Magento 1.x we stop accepting Magento 1.x extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meeting notes Topic requests and notes from meetings
Projects
None yet
Development

No branches or pull requests

4 participants