mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-10 14:01:22 -06:00
Short and sweet PR that does exactly what the title says. Note that this only affects developers of our theme, and is a no-op on the rest of the codebase (including formatting) -- it's just moving a config file! The nice benefits: higher precedence, and one less file (that can confuse users who are forking this repo).
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "just-the-docs",
|
|
"version": "0.3.3",
|
|
"description": "A modern Jekyll theme for documentation",
|
|
"repository": "just-the-docs/just-the-docs",
|
|
"license": "MIT",
|
|
"bugs": "https://github.com/just-the-docs/just-the-docs/issues",
|
|
"devDependencies": {
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.4",
|
|
"stylelint": "^15.2.0",
|
|
"stylelint-config-standard-scss": "^7.0.1"
|
|
},
|
|
"scripts": {
|
|
"lint": "npm-run-all --parallel --continue-on-error lint:*",
|
|
"lint:css": "stylelint '**/*.scss'",
|
|
"lint:formatting": "prettier --check '**/*.{scss,js,json}'",
|
|
"format": "prettier --write '**/*.{scss,js,json}'",
|
|
"test": "npm run lint"
|
|
},
|
|
"stylelint": {
|
|
"ignoreFiles": [
|
|
"assets/css/just-the-docs-default.scss",
|
|
"assets/css/just-the-docs-light.scss",
|
|
"assets/css/just-the-docs-dark.scss",
|
|
"_sass/vendor/**/*.scss"
|
|
],
|
|
"extends": [
|
|
"stylelint-config-standard-scss"
|
|
],
|
|
"rules": {
|
|
"alpha-value-notation": null,
|
|
"at-rule-empty-line-before": null,
|
|
"color-function-notation": null,
|
|
"no-descending-specificity": null,
|
|
"scss/no-global-function-names": null
|
|
}
|
|
},
|
|
"prettier": {
|
|
"endOfLine": "lf",
|
|
"semi": false,
|
|
"singleQuote": false,
|
|
"tabWidth": 2,
|
|
"trailingComma": "es5"
|
|
}
|
|
}
|