diff --git a/.eslintignore b/.eslintignore index 91048c7..e3a386a 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,194 +1,4 @@ -################# -## Node.js -################# - -node_modules -npm-debug.log - - -################# -## Grunt -################# - -.grunt -_SpecRunner.html -reports -jsdoc -dist -build/temp -coverage/ - -################# -## Eclipse -################# - -*.pydevproject -.project -.metadata -bin/ -tmp/ -.idea/ -.vscode/ -*.tmp -*.bak -*.swp -*~.nib -local.properties -.classpath -.settings/ -.loadpath - -# External tool builders -.externalToolBuilders/ - -# Locally stored "Eclipse launch configurations" -*.launch - -# CDT-specific -.cproject - -# PDT-specific -.buildpath - - -################# -## Visual Studio -################# - -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.sln.docstates - -# Build results -[Dd]ebug/ -[Rr]elease/ -*_i.c -*_p.c -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.vspscc -.builds -*.dotCover - -## If you have NuGet Package Restore enabled, uncomment this -#packages/ - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf - -# Visual Studio profiler -*.psess -*.vsp - -# ReSharper is a .NET coding add-in -_ReSharper* - -# Installshield output folder -[Ee]xpress - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish - -# Others -[Bb]in -[Oo]bj -sql -TestResults -*.Cache -ClientBin -stylecop.* -~$* -*.dbmdl -Generated_Code #added for RIA/Silverlight projects - -# Backup & report files from converting an old project file to a newer -# Visual Studio version. Backup files are not needed, because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML - - - -############ -## Windows -############ - -# Windows image file caches -Thumbs.db - -# Folder config file -Desktop.ini - - -############# -## Python -############# - -*.py[co] - -# Packages -*.egg -*.egg-info -eggs -parts -bin -var -sdist -develop-eggs -.installed.cfg - -# Installer logs -pip-log.txt - -# Unit test / coverage reports -.coverage -.tox - -#Translations -*.mo - -#Mr Developer -.mr.developer.cfg - -# Mac crap -.DS_Store - -# CI Caches -dist_* -dist-* -.npm -.ci-scripts -.pnpm-store - -# Generated File -yarn.lock -package-lock.json -*.d.ts +**/tmp/** +**/temp/** +**/dist/** +**/coverage/** diff --git a/.prettierignore b/.prettierignore index 1f72766..6f48462 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,10 +1,14 @@ -**/.ts-build +**/tmp +**/temp **/dist -**/release **/coverage -**/node_modules -**/CHANGELOG.md -# ignore specific format -**/*.json +# ignore lockfile +package-lock.json pnpm-lock.yaml +yarn.lock + +# ignore misc file +**/*.min.js +**/*.min.css +**/*.json diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 3635a40..0000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "singleQuote": true, - "trailingComma": "all" -} diff --git a/.prettierrc.yaml b/.prettierrc.yaml new file mode 100644 index 0000000..3e9d085 --- /dev/null +++ b/.prettierrc.yaml @@ -0,0 +1,2 @@ +singleQuote: true +trailingComma: all diff --git a/package.json b/package.json index ce52059..9240660 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,7 @@ "test": "pnpm run build:references && pnpm run eslint && pnpm run tscheck", "eslint": "eslint '**/*.{js,jsx,ts,tsx,vue}' --quiet", "build:references": "tsc --build", - "tscheck": "pnpm -r --parallel exec tsc --noEmit", - "tscheck:whole": "tsc --noEmit" + "tscheck": "pnpm -r --parallel exec tsc --noEmit" }, "repository": { "type": "git",