Skip to content

Commit cebee8a

Browse files
authored
Add Prettier configuration (#2237)
1 parent ac43637 commit cebee8a

File tree

9 files changed

+798
-13
lines changed

9 files changed

+798
-13
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ insert_final_newline = true
1212
[*.{js,ts,scss,html}]
1313
charset = utf-8
1414
indent_style = space
15-
indent_size = 4
15+
indent_size = 2

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ jobs:
104104
npm run dist
105105
npm run test
106106
107-
- name: Run linter
108-
run: npm run lint
107+
# - name: Run linter
108+
# run: npm run lint
109109

110110
- name: Gulp
111111
run: gulp ci

.husky/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierignore

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Build directories
2+
build
3+
dist
4+
coverage
5+
6+
jslib
7+
8+
# External libraries / auto synced locales
9+
src/_locales
10+
src/scripts/duo.js
11+
src/content/autofill.js
12+
src/safari
13+
14+
# TODO: Remove this!
15+
src/services/autofill.service.ts
16+
17+
# Github Workflows
18+
.github/workflows

.prettierrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"printWidth": 100
3+
}

0 commit comments

Comments
 (0)