https://github.com/tiaanduplessis/gulp-prettier-eslint
Gulp plugin for prettier-eslint
https://github.com/tiaanduplessis/gulp-prettier-eslint
eslint gulp gulp-plugin prettier prettier-eslint
Last synced: 9 months ago
JSON representation
Gulp plugin for prettier-eslint
- Host: GitHub
- URL: https://github.com/tiaanduplessis/gulp-prettier-eslint
- Owner: tiaanduplessis
- License: mit
- Created: 2017-11-18T15:11:53.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-07-16T22:48:44.000Z (almost 6 years ago)
- Last Synced: 2025-09-10T20:36:23.873Z (10 months ago)
- Topics: eslint, gulp, gulp-plugin, prettier, prettier-eslint
- Language: JavaScript
- Size: 275 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gulp-prettier-eslint
Gulp plugin for prettier-eslint
Table of Contents
Table of Contents
## Install
[](https://greenkeeper.io/)
```sh
$ npm install @tiaanduplessis/gulp-prettier-eslint
# OR
$ yarn add @tiaanduplessis/gulp-prettier-eslint
```
## Usage
```js
const gulp = require('gulp')
const format = require('@tiaanduplessis/gulp-prettier-eslint')
gulp.task('default', () => {
gulp
.src('./src/*.js')
.pipe(
format({
eslintConfig: {
parserOptions: {
ecmaVersion: 7
},
rules: {
semi: ['error', 'never']
}
},
prettierOptions: {
bracketSpacing: true
},
fallbackPrettierOptions: {
singleQuote: false
}
})
)
.pipe(gulp.dest('./dist'))
})
```
## Contributing
Contributions are welcome!
1. Fork it.
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
Or open up [a issue](https://github.com/tiaanduplessis/gulp-prettier-eslint/issues).
## License
Licensed under the MIT License.