@eejit/prettier-config 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ on:
2
+ push:
3
+ branches: main
4
+ jobs:
5
+ publish:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v3
9
+ - uses: actions/setup-node@v3
10
+ with:
11
+ node-version: '18'
12
+ - uses: JS-DevTools/npm-publish@v2
13
+ with:
14
+ token: ${{ secrets.NPM_TOKEN }}
package/CODEOWNERS ADDED
@@ -0,0 +1 @@
1
+ * @Eejit43
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # prettier-config
2
+
3
+ This package is a Prettier configuration for all of my projects.
package/index.js ADDED
@@ -0,0 +1,16 @@
1
+ module.exports = {
2
+ bracketSameLine: true,
3
+ endOfLine: 'lf',
4
+ printWidth: 1000,
5
+ semi: true,
6
+ singleQuote: true,
7
+ tabWidth: 4,
8
+ trailingComma: 'none',
9
+ overrides: [
10
+ {
11
+ files: ['*.hbs', '*.css'],
12
+ options: { singleQuote: false }
13
+ }
14
+ ],
15
+ plugins: ['prettier-plugin-css-order', 'prettier-plugin-organize-imports', 'prettier-plugin-packagejson', 'prettier-plugin-tsconfig']
16
+ };
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@eejit/prettier-config",
3
+ "version": "1.0.0",
4
+ "dependencies": {
5
+ "prettier": "^3.0.1",
6
+ "prettier-plugin-css-order": "^2.0.0",
7
+ "prettier-plugin-organize-imports": "^3.2.3",
8
+ "prettier-plugin-packagejson": "^2.4.5",
9
+ "prettier-plugin-tsconfig": "^0.0.1"
10
+ }
11
+ }