diff --git a/.sasslintrc b/.sasslintrc deleted file mode 100644 index 915c6e9..0000000 --- a/.sasslintrc +++ /dev/null @@ -1,308 +0,0 @@ -files: - include: "app/sass/*.s+(a|c)ss" - -options: - formatter: stylish - -rules: - attribute-quotes: 2 - bem-depth: - - 2 - - max-depth: 3 - border-zero: - - 2 - - convention: none - brace-style: - - 2 - - allow-single-line: false - - style: 2tbs - class-name-format: 0 - clean-import-paths: 2 - declarations-before-nesting: 2 - empty-args: 2 - empty-line-between-blocks: - - 2 - - allow-single-line-rulesets: true - extends-before-declarations: 2 - extends-before-mixins: 2 - final-newline: 2 - force-attribute-nesting: 2 - force-element-nesting: 0 - force-pseudo-nesting: 0 - function-name-format: - - 2 - - allow-leading-underscore: false - - convention: hyphenatedbem - hex-length: 2 - hex-notation: 2 - id-name-format: 0 - indentation: 2 - leading-zero: - - 2 - - include: true - max-file-line-count: 0 - max-line-length: 0 - mixins-before-declarations: 2 - mixin-name-format: - allow-leading-underscore: false - convention: hypenatedbem - nesting-depth: - - 2 - - max-depth: 3 - no-attribute-selectors: 0 - no-color-hex: 0 - no-color-keywords: 2 - no-color-literals: - - 0 - - allow-map-identifiers: true - - allow-rgba: true - - allow-variable-identifiers: true - no-combinators: 0 - no-css-comments: 2 - no-debug: 2 - no-disallowed-properties: 0 - no-duplicate-properties: 2 - no-empty-rulesets: 2 - no-extends: 0 - no-ids: 2 - no-important: 2 - no-invalid-hex: 2 - no-mergeable-selectors: 2 - no-misspelled-properties: 2 - no-qualifying-elements: - - 2 - - allow-element-with-attribute: true - - allow-element-with-class: false - - allow-element-with-id: false - no-trailing-whitespace: 2 - no-trailing-zero: 2 - no-transition-all: 0 - no-universal-selectors: 0 - no-url-domains: 2 - no-url-protocols: 2 - no-vendor-prefixes: - - 0 - - ignore-non-standard: true - no-warn: 2 - one-declaration-per-line: 0 - placeholder-in-extend: 0 - placeholder-name-format: - - 2 - - allow-leading-underscore: false - - convention: hyphenatedbem - property-sort-order: - - 2 - - order: - - width - - max-width - - min-width - - height - - max-height - - min-height - - margin - - padding - - top - - right - - bottom - - left - - - - align-content - - align-items - - animation - - animation-delay - - animation-direction - - animation-duration - - animation-fill-mode - - animation-iteration-count - - animation-name - - animation-play-state - - animation-timing-function - - appearance - - backface-visibility - - background - - background-attachment - - background-clip - - background-color - - background-image - - background-origin - - background-position - - background-repeat - - background-size - - border - - - - border-top - - border-right - - border-bottom - - border-left - - - - border-top-color - - border-right-color - - border-bottom-color - - border-left-color - - - - border-top-style - - border-right-style - - border-bottom-style - - border-left-style - - - - border-top-width - - border-right-width - - border-bottom-width - - border-left-width - - - - border-top-right-radius - - border-bottom-right-radius - - border-top-left-radius - - border-bottom-left-radius - - - - border-radius-topright - - border-radius-bottomright - - border-radius-topleft - - border-radius-bottomleft - - - - border-collapse - - border-color - - border-image - - border-radius - - border-spacing - - border-style - - border-width - - - - box-align - - box-decoration-break - - box-flex - - box-orient - - box-pack - - box-shadow - - box-sizing - - caption-side - - clear - - clip - - color - - content - - counter-increment - - counter-reset - - cursor - - direction - - display - - empty-cells - - filter - - flex - - flex-align - - flex-direction - - flex-flow - - flex-grow - - flex-order - - flex-pack - - float - - font - - font-family - - font-size - - font-smoothing - - font-style - - font-variant - - font-weight - - grid - - grid-area - - grid-gap - - grid-template - - grid-template-columns - - hyphens - - interpolation-mode - - justify-content - - letter-spacing - - line-height - - list-style - - list-style-image - - list-style-position - - list-style-type - - margin-collapse - - - - margin-top - - margin-right - - margin-bottom - - margin-left - - - - margin-top-collapse - - margin-right-collapse - - margin-bottom-collapse - - margin-left-collapse - - - - marks - - object-fit - - object-position - - opacity - - osx-font-smoothing - - outline - - outline-color - - outline-offset - - outline-style - - outline-width - - overflow - - overflow-scrolling - - overflow-x - - overflow-y - - padding-top - - padding-right - - padding-bottom - - padding-left - - page - - pointer-events - - position - - quotes - - resize - - set-link-source - - size - - speak - - src - - table-layout - - text-align - - text-decoration - - text-indent - - text-orientation - - text-overflow - - text-rendering - - text-shadow - - text-size-adjust - - text-transform - - transform - - transform-origin - - transition - - transition-delay - - transition-duration - - transition-property - - transition-timing-function - - unicode-bidi - - user-select - - vertical-align - - visibility - - white-space - - word-break - - word-spacing - - word-wrap - - writing-mode - - z-index - - zoom - property-units: 0 - pseudo-element: 2 - quotes: - - 2 - - style: double - shorthand-values: 2 - single-line-per-selector: 2 - space-after-bang: 0 - space-after-colon: 2 - space-after-comma: 2 - space-around-operator: 2 - space-before-bang: 2 - space-before-brace: 2 - space-before-colon: 0 - space-between-parens: 0 - trailing-semicolon: 2 - url-quotes: 2 - variable-for-property: 0 - variable-name-format: - - 2 - - allow-leading-underscore: false - - convention: hyphenatedbem - zero-unit: 0 diff --git a/app/sass/pages/_api.scss b/app/sass/pages/_api.scss index cd726a8..871049e 100644 --- a/app/sass/pages/_api.scss +++ b/app/sass/pages/_api.scss @@ -102,7 +102,7 @@ line-height: 1.33; list-style-type: none; padding-top: 0.25rem; - padding-bottom: 0.25rem; + padding-bottom: 1rem; } .api__toc__item { diff --git a/package.json b/package.json index 933f62a..9b7083c 100755 --- a/package.json +++ b/package.json @@ -2,23 +2,23 @@ "author": "LBRY Team", "dependencies": { "@babel/polyfill": "^7.0.0", - "@octokit/rest": "^15.13.1", + "@octokit/rest": "^15.15.1", "app-root-path": "^2.1.0", "async": "^2.6.1", "async-es": "^2.6.1", - "choo": "^6.13.0", + "choo": "^6.13.1", "choo-async": "^0.1.1", "choo-devtools": "^2.5.1", "choo-ssr": "^0.2.1", "choo-websocket": "^2.0.0", - "colorette": "^1.0.5", + "colorette": "^1.0.7", "cors": "^2.8.4", - "cron": "^1.4.1", + "cron": "^1.5.0", "date-format-lite": "^17.7.0", "decamelize": "^2.0.0", "dedent": "^0.7.0", "dotenv": "^6.1.0", - "fastify": "^1.12.1", + "fastify": "^1.13.0", "fastify-compress": "^0.7.0", "fastify-helmet": "^2.1.0", "fastify-plugin": "^1.2.1", @@ -29,7 +29,7 @@ "graceful-fs": "^4.1.11", "heroku-ssl-redirect": "0.0.4", "make-fetch-happen": "^4.0.1", - "make-promises-safe": "^1.1.0", + "make-promises-safe": "^2.0.0", "markdown-it": "^8.4.2", "markdown-it-anchor": "^5.0.2", "prismjs": "^1.15.0", @@ -38,7 +38,7 @@ "request-promise-native": "^1.0.5", "slack-node": "^0.1.8", "socket.io": "^2.1.1", - "stringify-object": "^3.2.2" + "stringify-object": "^3.3.0" }, "description": "Documentation for the LBRY protocol and associated projects", "devDependencies": { @@ -57,16 +57,17 @@ "@babel/preset-env": "^7.1.0", "@babel/register": "^7.0.0", "@inc/eslint-config": "^1.0.5", - "@lbry/color": "^1.0.1", - "eslint": "^5.7.0", + "@inc/sasslint-config": "^1.0.0", + "@lbry/color": "^1.0.3", + "eslint": "^5.8.0", "husky": "^1.1.2", - "nodemon": "^1.18.4", + "nodemon": "^1.18.5", "npm-run-all": "^4.1.3", - "sass": "^1.14.2", + "sass": "^1.14.3", "sass-lint": "^1.12.1", "snazzy": "^8.0.0", "standardx": "^3.0.1", - "updates": "^5.0.1" + "updates": "^5.1.2" }, "engines": { "node": "10.2.x" @@ -79,7 +80,6 @@ "main": "server.js", "name": "lbry.tech", "private": true, - "sasslintConfig": ".sasslintrc", "scripts": { "css": "sass --load-path=node_modules --update app/sass:app/dist --style compressed", "format": "eslint '**/*.js' --fix", @@ -87,7 +87,7 @@ "test": "run-s test:*", "test:dependencies": "updates --update ./", "test:lint": "standardx --verbose | snazzy", - "test:sass": "sass-lint 'app/sass/*.scss, app/sass/**/*.scss' --verbose --no-exit", + "test:sass": "sass-lint --config ./node_modules/@inc/sasslint-config/config.json --verbose --no-exit", "watch": "run-p watch:*", "watch:sass": "sass --load-path=node_modules --watch app/sass:app/dist --style compressed", "watch:server": "NODE_ENV=development nodemon server --ignore 'public/'"