Edit — best to first try:
mariadb-secure-installation -u $(whoami) Original version here below in case the above does not work for you.
| // general PHP and WordPress warnings, error messages and status information | |
| define( 'WP_DEBUG', true ); | |
| define( 'WP_DEBUG_LOG', true ); | |
| define( 'WP_DEBUG_DISPLAY', false ); | |
| define( 'WPS_DEBUG', true ); | |
| // script and style | |
| define( 'WPS_DEBUG_SCRIPTS', true ); |
Edit — best to first try:
mariadb-secure-installation -u $(whoami) Original version here below in case the above does not work for you.
| import 'core-js/es6/array'; | |
| import 'core-js/es6/object'; | |
| import 'core-js/es6/string'; | |
| // Global options | |
| import defaults from './_config'; | |
| // general helper functions | |
| import Helper from './_helpers'; | |
| // general pricing and currency functions | |
| import Pricing from './_pricing'; | |
| // throttle and debounce manager |
| /* ******************************************************************************************* | |
| * TAILWIND.CSS | |
| * DOCUMENTATION: https://tailwindcss.com/ | |
| * ******************************************************************************************* */ | |
| /* | |
| * Available breakpoints | |
| * -------------------- | |
| * sm: min-width: 640px; | |
| * md: min-width: 768px; |
| FROM php:7.2-fpm | |
| COPY app /var/www/ | |
| EXPOSE 9000 |
| <?php | |
| use PhpCsFixer\Config; | |
| use PhpCsFixer\Finder; | |
| $rules = [ | |
| 'array_indentation' => true, | |
| 'array_syntax' => ['syntax' => 'short'], | |
| 'binary_operator_spaces' => [ | |
| 'default' => 'single_space', |
| { | |
| "editor.formatOnSave": false, | |
| "javascript.format.enable": true, | |
| "eslint.autoFixOnSave": true, | |
| "vetur.format.defaultFormatter.html": "prettyhtml", | |
| "eslint.alwaysShowStatus": true, | |
| "eslint.options": { | |
| "extensions": [".html", ".js", ".vue", ".jsx"] | |
| }, | |
| "eslint.validate": [ |
| location ~* \.(?:css|js|txt)$ { | |
| expires 1M; | |
| sendfile on; | |
| tcp_nopush on; | |
| tcp_nodelay off; | |
| add_header Cache-Control "public"; | |
| } | |
| location ~* \.(?:json|xml|rss|atom)$ { | |
| expires 1h; |
| <?php // Do not copy this line | |
| /** | |
| * This will turn on deferred transactional emails in WooCommerce. This may help if you | |
| * are experiencing slow checkouts or checkout timeouts. | |
| */ | |
| add_filter( 'woocommerce_defer_transactional_emails', '__return_true' ); |