Skip to content

Commit

Permalink
chore(architecture): big refactoring
Browse files Browse the repository at this point in the history
perf(jquery) remove JQuery, replace all JQuery dependencies

perf(deferjs): migrate to Defer.js — https://appseeds.net/defer.js/demo.html

refactor(pelican): single template for articles and pages with includes — https://bernhard.scheirle.de/posts/2016/March/07/seo-how-to-exclude-pages-and-articles-with-pelican/#how-to-use-the-noindex-html-meta-tag-with-pelican

perf(fonts): increase fonts downloading speed — https://csswizardry.com/2020/05/the-fastest-google-fonts/

refactor(peru): remove all Python third-party packages from repository — buildinspace/peru#205 (comment)

upd(python): Python and Pipenv to latest versions

fix(just_table): apply just_table for all types of articles and pages — burakkose/just_table#9

upd(css): migrate from PurifyCSS to PurgeCSS

lint(links): checkPages for checking internal links — https://www.npmjs.com/package/check-pages

fix(accessibility): some improvements for the own code and Gemini scrollbar — noeldelgado/gemini-scrollbar#67

fix(favicons): apply RealFavicon for all HTML

lint(csslint): drop CSSLint support, I can’t ignore CSS4 parts of a code — CSSLint/csslint#720 (comment)
  • Loading branch information
Kristinita committed Nov 16, 2020
1 parent 859655f commit 86da6f8
Show file tree
Hide file tree
Showing 163 changed files with 4,316 additions and 3,927 deletions.
6 changes: 5 additions & 1 deletion .commitlintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ rules:
- test
# Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
- ci
# Changes to the build process or auxiliary tools and libraries such as documentation generation
# [INFO] Tool changes, configuration changes, and changes to things that do not actually go into production at all:
# https://stackoverflow.com/a/26944812/5951529
- chore
# Building tools changes (example scopes: grunt, gulp)
- build
Expand All @@ -141,6 +142,9 @@ rules:
- debug
# [INFO] Update
- upd
# [INFO] Changes for linters/checkers/validators.
# Example scopes — “eslint”, “stylint”
- lint

type-case:
- 2
Expand Down
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# [INFO] ECLint — ignore leading spaces in comments:
# https://www.npmjs.com/package/eclint#support-for-doc-comments
# https://www.npmjs.com/package/eclint#block_comment_start
Expand Down
16 changes: 8 additions & 8 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ parserOptions:
jsx: true
rules:
indent:
- error
- tab
- error
- tab
linebreak-style:
- error
- windows
- error
- unix
quotes:
- error
- double
- error
- single
semi:
- error
- always
- error
- always
2 changes: 1 addition & 1 deletion .htmlhintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"attr-value-double-quotes": true,
"attr-value-not-empty": false,
"attr-no-duplication": true,
"doctype-first": true,
"doctype-first": false,
"tag-pair": true,
"empty-tag-not-self-closed": true,
"spec-char-escape": true,
Expand Down
2 changes: 1 addition & 1 deletion .htmllintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling", "width"],
"attr-bans": ["align", "background", "bgcolor", "border", "frameborder", "longdesc", "marginwidth", "marginheight", "scrolling"],
"id-class-style": false,
"indent-style": "tabs",
"raw-ignore-regex": "/(\\<script\\>.*\\<\/script\\>|\\<style\\>.*\\<\/style\\>)/",
Expand Down
10 changes: 0 additions & 10 deletions .npmrc

This file was deleted.

13 changes: 13 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
##########
# pylint #
##########
# [ACTION] Validate Python code:
# https://www.pylint.org/
# [INFO] pylint configuration file:
# https://github.com/PyCQA/pylint/blob/master/pylintrc
# https://www.getcodeflow.com/pylint-configuration.html

[FORMAT]

# [LINK] “.flake8”
max-line-length=120
20 changes: 18 additions & 2 deletions .stylelintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
#############
# stylelint #
#############
# Configuration:
# [INFO] CSS checker:
# https://stylelint.io/
# [INFO] Configuration:
# https://stylelint.io/user-guide/configuration
# Recommended configuration:
# [INFO] Recommended configuration:
# https://www.npmjs.com/package/stylelint-config-recommended
extends: stylelint-config-recommended


###################################
# no-unsupported-browser-features #
###################################
# [INFO] Check features for browsers that supported in “browserslist” file:
# https://www.npmjs.com/package/stylelint-no-unsupported-browser-features
plugins:
- stylelint-no-unsupported-browser-features

rules:
# [INFO] Rule description:
# https://stylelint.io/user-guide/rules/no-descending-specificity
Expand All @@ -15,3 +27,7 @@ rules:
# [INFO] Use “null”, not “false” for disabling rule:
# https://stylelint.io/user-guide/configuration#rules
no-descending-specificity: null

# [REQUIRED] “plugin/plugin_name: true”
# https://www.npmjs.com/package/stylelint-no-unsupported-browser-features#recommendations
plugin/no-unsupported-browser-features: true
7 changes: 2 additions & 5 deletions .stylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"expect": "never",
"error": true
},
"colors": {
"expect": "always",
"error": true
},
"colors": false,
"commaSpace": {
"expect": "always",
"error": true
Expand Down Expand Up @@ -111,5 +108,5 @@
"expect": "never",
"error": true
},
"zIndexNormalize": 100
"zIndexNormalize": 1
}
Loading

0 comments on commit 86da6f8

Please sign in to comment.