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

Fix preview image while printing #938

Merged
merged 7 commits into from
Aug 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "import", "simple-import-sort"],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'import', 'simple-import-sort', 'prettier'],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:import/typescript',
],
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
sourceType: 'module',
},
rules: {
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-use-before-define": "off",
"import/no-unresolved": "off",
camelcase: "warn",
"simple-import-sort/sort": "warn",
"sort-imports": "off",
"import/first": "warn",
"import/newline-after-import": "warn",
"import/no-duplicates": "warn",
"import/no-absolute-path": "warn",
"import/no-unused-modules": "warn",
"import/no-deprecated": "warn",
"import/no-self-import": "error",
"max-len": ["warn", { code: 170, tabWidth: 2, ignoreUrls: true }],
'@typescript-eslint/no-parameter-properties': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'import/no-unresolved': 'off',
camelcase: 'warn',
'simple-import-sort/sort': 'warn',
'sort-imports': 'off',
'import/first': 'warn',
'import/newline-after-import': 'warn',
'import/no-duplicates': 'warn',
'import/no-absolute-path': 'warn',
'import/no-unused-modules': 'warn',
'import/no-deprecated': 'warn',
'import/no-self-import': 'error',
'max-len': ['warn', { code: 170, tabWidth: 2, ignoreUrls: true }],
'prettier/prettier': 'warn',
},
overrides: [
{
files: "**/*.ts",
files: '**/*.ts',
rules: {
"import/order": [
"off",
'import/order': [
'off',
{
"newlines-between": "always",
'newlines-between': 'always',
},
],
},
Expand Down
13 changes: 13 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"tabWidth": 2,
"useTabs": false,
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "lf",
"jsxBracketSameLine": true,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"htmlWhitespaceSensitivity": "ignore"
}
12 changes: 0 additions & 12 deletions browserslist

This file was deleted.

5 changes: 0 additions & 5 deletions docs/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ AOS.init({

var scrollDown = function () {
$('.mouse-icon').on('click', function (event) {
console.log("HERE")
event.preventDefault();

$('html,body').animate({
Expand All @@ -131,7 +130,6 @@ AOS.init({

var gotoInstallation = function () {
$('.goto-installation').on('click', function (event) {
console.log("HERE")
event.preventDefault();

$('html,body').animate({
Expand All @@ -147,7 +145,6 @@ AOS.init({

var gotoFAQ = function () {
$('.goto-faq').on('click', function (event) {
console.log("HERE")
event.preventDefault();

$('html,body').animate({
Expand All @@ -163,7 +160,6 @@ AOS.init({

var gotoScreenshots = function () {
$('.goto-screenshots').on('click', function (event) {
console.log("HERE")
event.preventDefault();

$('html,body').animate({
Expand All @@ -179,7 +175,6 @@ AOS.init({

var gotoFeatures = function () {
$('.goto-features').on('click', function (event) {
console.log("HERE")
event.preventDefault();

$('html,body').animate({
Expand Down
Loading