Skip to content

Commit

Permalink
add project config
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxiaobei committed Aug 23, 2021
1 parent d80c414 commit 00f1029
Show file tree
Hide file tree
Showing 5 changed files with 1,911 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .prettierignore
@@ -0,0 +1,9 @@
/exampleSite
/images
/static

.git*
*.toml
.prettierignore
LICENSE
yarn.lock
4 changes: 4 additions & 0 deletions .prettierrc.js
@@ -0,0 +1,4 @@
module.exports = {
printWidth: 100,
singleQuote: true,
};
12 changes: 12 additions & 0 deletions .stylelintrc.js
@@ -0,0 +1,12 @@
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-recess-order',
'stylelint-config-prettier'
],
rules: {
'no-descending-specificity': null,
'custom-property-empty-line-before': null,
'rule-empty-line-before': ['always', { ignore: ['after-comment', 'first-nested'] }]
}
};
20 changes: 20 additions & 0 deletions package.json
@@ -0,0 +1,20 @@
{
"name": "hugo-paper",
"version": "5.0.0",
"repository": "https://github.com/nanxiaobei/hugo-paper.git",
"author": "nanxiaobei <nanxiaobei@gmail.com>",
"license": "MIT",
"private": true,
"scripts": {
"site": "hugo server -Dw --minify --disableFastRender --themesDir ../.. --source exampleSite",
"open": "open http://localhost:1313/",
"dev": "yarn open & yarn site"
},
"dependencies": {
"prettier": "^2.3.2",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recess-order": "^2.5.0",
"stylelint-config-standard": "^22.0.0"
}
}

0 comments on commit 00f1029

Please sign in to comment.