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

Add eslint-plugin-compat #23972

Merged
merged 2 commits into from
Sep 26, 2017
Merged

Add eslint-plugin-compat #23972

merged 2 commits into from
Sep 26, 2017

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Sep 17, 2017

Note that we can move the browserlists config to a separate file; I went with package.json so that we don't have one more file.

'Opera >= 30'
]
}
autoprefixer: {}
Copy link
Member

Choose a reason for hiding this comment

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

why did you let that line ? their are nothing in autoprefixer

Copy link
Member Author

Choose a reason for hiding this comment

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

How will autoprefixer be included otherwise?

@XhmikosR XhmikosR force-pushed the v4-dev-xmr-eslint-plugin-compat branch 2 times, most recently from f24c4a2 to 912af1d Compare September 17, 2017 08:46
@XhmikosR
Copy link
Member Author

I ignored the serviceWorker errors in pwa.js, but I wonder, should it even complain since we have that block wrapped in a if ('serviceWorker' in navigator) { check?

@XhmikosR XhmikosR force-pushed the v4-dev-xmr-eslint-plugin-compat branch from 912af1d to 0213511 Compare September 20, 2017 10:18
@XhmikosR
Copy link
Member Author

@Johann-S: what do we do with this?

@XhmikosR XhmikosR force-pushed the v4-dev-xmr-eslint-plugin-compat branch from 0213511 to dbf9585 Compare September 25, 2017 20:50
@Johann-S
Copy link
Member

IMO we should merge this PR because currently folks PR aren't tested on Saucelabs so it will help folks to know if their code is compatible with our supported browsers

This is so other plugins can use it too.
We can check for browser compatibility on lint time now.
@XhmikosR XhmikosR force-pushed the v4-dev-xmr-eslint-plugin-compat branch from dbf9585 to 57655e4 Compare September 26, 2017 14:05
@XhmikosR XhmikosR merged commit e8d9a03 into v4-dev Sep 26, 2017
@XhmikosR XhmikosR deleted the v4-dev-xmr-eslint-plugin-compat branch September 26, 2017 14:16
@mdo mdo mentioned this pull request Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants