Skip to content

Commit

Permalink
chore: Convert all tabs to spaces (#2887)
Browse files Browse the repository at this point in the history
* chore: Convert ALL tabs to spaces

* chore: process feedback
  • Loading branch information
WilcoFiers authored Apr 28, 2021
1 parent 43394bc commit 2fedfb6
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 33 deletions.
5 changes: 0 additions & 5 deletions .huskyrc

This file was deleted.

32 changes: 16 additions & 16 deletions .jsdoc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["lib", "README.md"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|doc/api)"
},
"opts": {
"destination": "./doc/api",
"encoding": "utf8",
"recurse": true,
"template": "./node_modules/minami"
},
"plugins": ["plugins/markdown"]
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc"]
},
"source": {
"include": ["lib", "README.md"],
"includePattern": ".js$",
"excludePattern": "(node_modules/|doc/api)"
},
"opts": {
"destination": "./doc/api",
"encoding": "utf8",
"recurse": true,
"template": "./node_modules/minami"
},
"plugins": ["plugins/markdown"]
}
10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

10 changes: 10 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"printWidth": 80,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "avoid"
}
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"next-release": "standard-version --scripts.prebump=./build/next-version.js --skip.commit=true --skip.tag=true",
"sri-update": "grunt build && node build/sri-update && git add sri-history.json",
"sri-validate": "node build/sri-update --validate",
"fmt": "prettier --write *.{json,md,js} **/*.ts './{.github,build,doc,lib,test}/**/*.{json,md,js,ts,html}'"
"fmt": "prettier --write .*.json *.{json,md,js} **/*.ts './{.circleci,.github,build,doc,lib,locales,test,typings}/**/*.{json,md,js,ts,html}'"
},
"devDependencies": {
"@babel/core": "^7.5.4",
Expand Down Expand Up @@ -160,7 +160,7 @@
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"pre-commit": "grunt configure && lint-staged"
}
},
"lint-staged": {
Expand Down

0 comments on commit 2fedfb6

Please sign in to comment.