Skip to content
Snippets Groups Projects
Commit 4de2fafc authored by Rigel Kent's avatar Rigel Kent Committed by Chocobozzz
Browse files

added linter and prettifier via commit hooks

parent 48d46d81
No related branches found
No related tags found
No related merge requests found
*.json
printWidth: 80
tabWidth: 2
useTabs: false
semi: false
singleQuote: true
trailingComma: all
bracketSpacing: true
arrowParens: always
files:
include: "**/*.s+(a|c)ss"
ignore: [
"node_modules/**/*.*",
"client/node_modules/**/*.*"
]
syntax:
include:
- scss
- sass
rules:
property-sort-order: 0
attribute-quotes: 0
border-zero: 0
no-color-keywords: 0
no-css-comments: 0
no-important: 0
no-trailing-zero: 1
space-after-bang: 1
space-before-bang: 1
space-after-colon: 1
space-before-colon: 1
hex-length: 1
hex-notation: 0
indentation: 1
......@@ -47,11 +47,25 @@
"nodemon": "nodemon",
"ts-node": "ts-node",
"tslint": "tslint",
"sasslint": "sass-lint --verbose --no-exit",
"sasslint:fix": "sass-lint-auto-fix -c .sass-lint.yml --verbose",
"mocha": "mocha",
"travis": "scripty",
"release": "scripty",
"client-report": "scripty"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,css,md}": "precise-commits",
"*.scss": [
"sass-lint-auto-fix -c .sass-lint.yml --verbose",
"git add"
]
},
"dependencies": {
"async": "^2.0.0",
"async-lru": "^1.1.1",
......@@ -134,11 +148,17 @@
"chai": "^4.1.1",
"chai-json-schema": "^1.5.0",
"chai-xml": "^0.3.2",
"husky": "^1.0.0-rc.4",
"libxmljs": "^0.18.7",
"lint-staged": "^7.1.0",
"maildev": "^1.0.0-rc3",
"mocha": "^5.0.0",
"nodemon": "^1.11.0",
"precise-commits": "^1.0.2",
"prettier": "1.12.1",
"prompt": "^1.0.0",
"sass-lint": "^1.12.1",
"sass-lint-auto-fix": "^0.9.0",
"source-map-support": "^0.5.0",
"spectacle-docs": "^1.0.2",
"supertest": "^3.0.0",
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment