Skip to content

Commit 16ad576

Browse files
committed
Format code using prettier
1 parent b2403e9 commit 16ad576

File tree

3 files changed

+177
-120
lines changed

3 files changed

+177
-120
lines changed

package-lock.json

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"main": "dist/jquery.autocomplete.js",
88
"types": "./typings/jquery-autocomplete/jquery.autocomplete.d.ts",
99
"license": "MIT",
10+
"scripts": {
11+
"format": "prettier --write ./src/**"
12+
},
1013
"repository": {
1114
"type": "git",
1215
"url": "git://github.com/devbridge/jQuery-Autocomplete.git"
@@ -17,7 +20,13 @@
1720
},
1821
"devDependencies": {
1922
"grunt": "^1.0.1",
20-
"grunt-contrib-uglify": "^1.0.1"
23+
"grunt-contrib-uglify": "^1.0.1",
24+
"prettier": "^3.0.3"
25+
},
26+
"prettier": {
27+
"printWidth": 100,
28+
"singleQuote": true,
29+
"tabWidth": 4
2130
},
2231
"files": [
2332
"dist/",

0 commit comments

Comments
 (0)