Skip to content

Upgrade eslint-plugin-html #3

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

Merged
merged 4 commits into from
Jan 17, 2017
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
9 changes: 6 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
'use strict'

require('eslint-plugin-html')

module.exports = {
processors: {
'.vue': require('eslint-plugin-html').processors['.vue']
},
settings: [

Choose a reason for hiding this comment

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

I think you want curlies here.

Thanks for this plugin!

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah definitely.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just updated!

'html/html-extensions': ['.vue'],
'html/xml-extensions': []
],
rules: {
'jsx-uses-vars': require('eslint-plugin-react/lib/rules/jsx-uses-vars')
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"eslint": "^2.0.0 || ^3.0.0"
},
"dependencies": {
"eslint-plugin-html": "^1.5.2",
"eslint-plugin-html": "^2.0.0-beta.0",
"eslint-plugin-react": "^6.2.0"
}
}