Skip to content

Commit fab9bd6

Browse files
committed
Clarify formatting commands
1 parent ee67b84 commit fab9bd6

29 files changed

+2919
-209
lines changed

.cleanthat/biome.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"formatter": {
4+
"enabled": true,
5+
"indentStyle": "tab",
6+
"lineWidth": 160
7+
}
8+
}

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ replay_pid*
4343

4444
# mkdocs
4545
site
46+
47+
# npm
48+
node_modules

pivotable/js/.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
25+
/test-results/
26+
/playwright-report/
27+
/blob-report/
28+
/playwright/.cache/

pivotable/js/.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://prettier.io/docs/en/ignore.html
2+
target
3+
package-lock.json
4+

pivotable/js/.prettierrc.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# https://prettier.io/docs/en/configuration.html
2+
3+
tabWidth: 4
4+
printWidth: 160
5+
6+
overrides:
7+
# // https://github.com/prettier/prettier/issues/5892#issuecomment-466318688
8+
- files: "*.html"
9+
options:
10+
parser: html
11+
- files:
12+
- "*.vue"
13+
options:
14+
parser: vue

pivotable/js/CONTRIBUTING.MD

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
npm audit
44
npm run lint
55

6+
npm run format & mvn spotless:apply
7+
68
npm outdated
79
npm update
810

pivotable/js/eslint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default [
1818
...eslintPluginVue.configs["flat/recommended"],
1919
{
2020
files: ["*.html", "**/*.html", "*.js", "**/*.js", "*.vue", "**/*.vue"],
21+
// ignores: ["*/target/*"],
2122
languageOptions: {
2223
parser: vueEslintParser,
2324
},

0 commit comments

Comments
 (0)