Skip to content

Commit

Permalink
- add prettier ignore
Browse files Browse the repository at this point in the history
- format unformatted files
- add scripts to work with prettier
  • Loading branch information
Totto16 committed Apr 17, 2024
1 parent b47c99a commit 1ac8ea6
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.github/
node_modules/
*.md
14 changes: 7 additions & 7 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
tabWidth: 2,
};
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
tabWidth: 2,
};
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#5b1943"
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint --ext .ts src/",
"shell:restart": "busctl --user call org.gnome.Shell /io/elhan/Pano io.elhan.Pano restart",
"build-and-restart": "yarn run build && yarn run shell:restart"
"build-and-restart": "yarn run build && yarn run shell:restart",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write ."
},
"commitlint": {
"extends": [
Expand Down
5 changes: 1 addition & 4 deletions resources/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@
},
"settings-schema": "org.gnome.shell.extensions.pano",
"url": "https://github.com/oae/gnome-shell-pano",
"shell-version": [
"45",
"46"
]
"shell-version": ["45", "46"]
}

0 comments on commit 1ac8ea6

Please sign in to comment.