Prettier Pass

This commit is contained in:
Sidharth Vinod
2021-05-24 00:17:20 +05:30
parent 626060cbdb
commit 77ac35acaa
6 changed files with 116 additions and 115 deletions
+4 -4
View File
@@ -9,14 +9,14 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 'CodeQL'
on:
push:
branches: [ master ]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [master]
schedule:
- cron: '36 1 * * 2'
@@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
+1 -1
View File
@@ -1,6 +1,6 @@
{
"singleQuote": true,
"svelteSortOrder": "scripts-markup-styles",
"svelteSortOrder": "options-scripts-markup-styles",
"svelteBracketNewLine": false,
"useTabs": true,
"trailingComma": "none",
+9 -8
View File
@@ -1,9 +1,9 @@
const tailwindcss = require("tailwindcss");
const autoprefixer = require("autoprefixer");
const cssnano = require("cssnano");
const tailwindcss = require('tailwindcss');
const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const mode = process.env.NODE_ENV;
const dev = mode === "development";
const dev = mode === 'development';
module.exports = {
plugins: [
@@ -15,8 +15,9 @@ module.exports = {
autoprefixer,
!dev && cssnano({
preset: "default",
}),
],
!dev &&
cssnano({
preset: 'default'
})
]
};