mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-21 13:30:02 +00:00
Initial Commit
This commit installs and configures Prettier, and adds it to our test suite. We do not yet apply Prettier
This commit is contained in:
parent
2a19c60e20
commit
d203239f6f
7
.prettierignore
Normal file
7
.prettierignore
Normal file
@ -0,0 +1,7 @@
|
||||
# Ignore third party libraries
|
||||
files
|
||||
output
|
||||
tmp
|
||||
base64-utf8
|
||||
diff-match-patch
|
||||
csscolorparser.js
|
1
.prettierrc.json
Normal file
1
.prettierrc.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
@ -2,6 +2,10 @@
|
||||
|
||||
# test TiddlyWiki5 for tiddlywiki.com
|
||||
|
||||
# Let Prettier check formatting
|
||||
|
||||
npm run prettier-check || exit 1
|
||||
|
||||
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
|
||||
|
||||
node ./tiddlywiki.js \
|
||||
|
1882
package-lock.json
generated
Normal file
1882
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,8 @@
|
||||
"wiki"
|
||||
],
|
||||
"devDependencies": {
|
||||
"eslint": "^7.32.0"
|
||||
"eslint": "^8.37.0",
|
||||
"prettier": "^2.8.7"
|
||||
},
|
||||
"bundleDependencies": [],
|
||||
"license": "BSD",
|
||||
@ -32,6 +33,10 @@
|
||||
"node": ">=0.8.2"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint ."
|
||||
"lint": "eslint .",
|
||||
"prettier-check": "npx prettier --check .",
|
||||
"prettier-write": "npx prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user