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 usage examples for gulp-eslint and webpack-eslint-loader #4

Closed
wants to merge 3 commits into from

Conversation

chrishelgert
Copy link
Contributor

Examples for usage with gulp and webpack

Examples for usage with gulp and webpack
@@ -35,7 +35,36 @@ grunt.initConfig({
grunt.loadNpmTasks('grunt-eslint');
grunt.registerTask('default', ['eslint']);
```
### [gulp-eslint](https://github.com/adametry/gulp-eslint)
Copy link
Owner

Choose a reason for hiding this comment

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

spacing above here

@sindresorhus
Copy link
Owner

Can you give the PR a proper title?

@chrishelgert chrishelgert changed the title Update readme.md Examples for gulp-eslint and eslint-loader Apr 21, 2016
@chrishelgert chrishelgert changed the title Examples for gulp-eslint and eslint-loader Examples for gulp-eslint and webpack-eslint-loader Apr 21, 2016
* examples from ES5 to ES2015
* file.js for consistency
* whitespaces
@chrishelgert chrishelgert changed the title Examples for gulp-eslint and webpack-eslint-loader usage-examples for gulp-eslint and webpack-eslint-loader Apr 22, 2016
gulp.task('lint', () =>
gulp.src('file.js')
.pipe(eslint())
.pipe(eslint.format('node_modules/eslint-formatter-pretty');
Copy link
Owner

Choose a reason for hiding this comment

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

remove the ;

@sindresorhus sindresorhus changed the title usage-examples for gulp-eslint and webpack-eslint-loader usage examples for gulp-eslint and webpack-eslint-loader Apr 22, 2016
@sindresorhus sindresorhus changed the title usage examples for gulp-eslint and webpack-eslint-loader add usage examples for gulp-eslint and webpack-eslint-loader Apr 22, 2016
sindresorhus pushed a commit that referenced this pull request Apr 22, 2016
Examples for usage with gulp and webpack

Closes #4
@sindresorhus
Copy link
Owner

Cheers 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants