Skip to content

eslint: remove deprecated rulePaths#12350

Merged
aghassemi merged 1 commit intoampproject:masterfrom
aghassemi:lintrc
Dec 7, 2017
Merged

eslint: remove deprecated rulePaths#12350
aghassemi merged 1 commit intoampproject:masterfrom
aghassemi:lintrc

Conversation

@aghassemi
Copy link
Copy Markdown
Contributor

rulePaths had been deprecated in favor of --rulesdir and in eslint >4 - which we recently upgrade to - it is now an error, I am removing it since it is breaking eslint plugins for editors like Visual Studio code.

Note that this does not impact gulp lint since our lint.js manually sets this path an as option on gulp-eslint and I verified that custom rules continue to work with gulp lint.

@aghassemi aghassemi changed the title reslint: remove deprecated rulePaths eslint: remove deprecated rulePaths Dec 7, 2017
@aghassemi aghassemi merged commit 5987ca5 into ampproject:master Dec 7, 2017
jpettitt pushed a commit to jpettitt/amphtml that referenced this pull request Dec 11, 2017
@rsimha
Copy link
Copy Markdown
Contributor

rsimha commented Dec 13, 2017

Good catch. I'm in the process of upgrading to the latest version of gulp-eslint, which would've needed this fix as a prerequisite.

@rsimha
Copy link
Copy Markdown
Contributor

rsimha commented Dec 13, 2017

@aghassemi: FYI, I've sent out #12450, which upgrades gulp-eslint to version 4.0. Let's see if that makes your visual studio plugin work better than before.

gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
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.

5 participants