Skip to content

Commit

Permalink
Add prettier for js/css/vue code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Feb 1, 2019
1 parent 198e646 commit f71bd50
Show file tree
Hide file tree
Showing 11 changed files with 7,744 additions and 5,318 deletions.
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
public/
vendor/
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5"
}
5 changes: 3 additions & 2 deletions Changelog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2019-02-01 DariusIII
* Chg: Update sebastian/environment (4.0.2 => 4.1.0)
* Chg: Update phpunit/phpunit (7.5.2 => 7.5.3)
* Chg: Add prettier for css/js/vue files code style fixes
* Chg: Update sebastian/environment (4.0.2 => 4.1.0)
* Chg: Update phpunit/phpunit (7.5.2 => 7.5.3)
2019-01-31 DariusIII
* Chg: Update .styleci config file
* Chg: Update and fix code with php-cs-fixer
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<a href="https://packagist.org/packages/nntmux/newznab-tmux"><img src="https://poser.pugx.org/nntmux/newznab-tmux/license.svg" alt="License"></a>
<a href="https://styleci.io/repos/22602573"><img src="https://styleci.io/repos/22602573/shield?branch=dev" alt="StyleCI"></a>
<a href='https://coveralls.io/github/NNTmux/newznab-tmux?branch=0.x'><img src='https://coveralls.io/repos/github/NNTmux/newznab-tmux/badge.svg?branch=dev' alt='Coverage Status' /></a>
<a href="https://github.com/prettier/prettier"><img src=https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a>
<a href="https://www.patreon.com/bePatron?u=6160908"><img src="https://c5.patreon.com/external/logo/become_a_patron_button.png" alt="Become a Patron!" height="35"></a>
</p>

Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"format": "prettier --write 'resources/**/*.{css,js,vue}'"
},
"devDependencies": {
"axios": "^0.18",
Expand All @@ -16,6 +17,7 @@
"laravel-mix": "^4.0.14",
"lodash": "^4.17.11",
"popper.js": "^1.14.7",
"prettier": "1.16.3",
"vue": "^2.5.22"
},
"dependencies": {
Expand Down
Loading

0 comments on commit f71bd50

Please sign in to comment.