Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup linting process #1312

Merged
merged 31 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
81f1817
lint dockerfiles
goastler Jul 9, 2024
64c71b7
lint caddyfiles
goastler Jul 9, 2024
47af2ac
lint github actions workflows
goastler Jul 9, 2024
3b2ab39
lint shell scripts
goastler Jul 9, 2024
a81b9e3
yaml lint
goastler Jul 9, 2024
1c51b55
lint python
goastler Jul 9, 2024
955af0f
yamllint config
goastler Jul 9, 2024
94cc9fc
lint js
goastler Jul 9, 2024
4af5cce
lint html
goastler Jul 9, 2024
a2a3a87
lint markdown
goastler Jul 9, 2024
62a7000
htmlhint ignore files
goastler Jul 9, 2024
0319c45
simplify caddy lint
goastler Jul 9, 2024
46aee70
replace eslint + prettier with biome, add run-s and run-p
goastler Jul 9, 2024
63da562
lint rust
goastler Jul 9, 2024
cb869c0
lint toml
goastler Jul 9, 2024
651256a
configure biome target files
goastler Jul 9, 2024
66675f8
lint svg
goastler Jul 9, 2024
0368ccc
jsx and tsx lint
goastler Jul 9, 2024
371daa2
adjust lint command in npm scripts
goastler Jul 24, 2024
49161e0
fix license
goastler Jul 24, 2024
90b044c
change lint changed script name
goastler Jul 24, 2024
f8cd4ac
adjust lint workflow
goastler Jul 24, 2024
d2218e6
Merge branch 'dev' into lint
goastler Jul 24, 2024
e81d425
Update package-lock.json
goastler Jul 24, 2024
96c9443
remove old lint scripts
goastler Jul 31, 2024
45b1506
remove prettier + eslint config
goastler Jul 31, 2024
753594b
remove eslint dep
goastler Jul 31, 2024
9f8926e
remove prettier dep
goastler Jul 31, 2024
7086a77
Merge branch 'dev' into lint
goastler Jul 31, 2024
4b79867
Merge remote-tracking branch 'origin/staging' into lint
goastler Jul 31, 2024
22e1f28
Update package-lock.json
goastler Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .eslintignore

This file was deleted.

94 changes: 0 additions & 94 deletions .eslintrc.cjs

This file was deleted.

36 changes: 0 additions & 36 deletions .prettierrc.js

This file was deleted.

14 changes: 0 additions & 14 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"files.autoSave": "onFocusChange",
"vs-code-prettier-eslint.prettierLast": "false",
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
Expand All @@ -14,16 +12,4 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.json-language-features"
},
"[github-actions-workflow]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
}
8 changes: 1 addition & 7 deletions demos/client-bundle-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@
"scripts": {
"test": "echo \"No test specified\"",
"start": "vite serve ./src --port 9232 --config vite.config.ts",
"clean": "echo 'nothing to clean'",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"clean": "echo 'nothing to clean'"
},
"dependencies": {
"dotenv": "^16.0.1",
Expand Down
8 changes: 1 addition & 7 deletions demos/client-example-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
"build": "tsc --build --verbose",
"bundle:prod": "vite build --mode=production --config ./vite.config.ts",
"bundle:dev": "vite build --mode=development --config ./vite.config.ts",
"clean": "tsc --build --clean",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"clean": "tsc --build --clean"
},
"repository": {
"type": "git",
Expand Down
8 changes: 1 addition & 7 deletions demos/client-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,7 @@
"build": "tsc --build --verbose",
"bundle:prod": "vite build --mode=production --config vite.config.ts --outDir dist --emptyOutDir",
"bundle:dev": "vite build --mode=development --config vite.config.ts --outDir dist --emptyOutDir",
"clean": "tsc --build --clean",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"clean": "tsc --build --clean"
},
"browserslist": {
"production": [
Expand Down
8 changes: 1 addition & 7 deletions demos/client-frictionless-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@
"build": "tsc --build --verbose",
"bundle:prod": "vite build --mode=production --config vite.config.ts --outDir dist --emptyOutDir",
"bundle:dev": "vite build --mode=development --config vite.config.ts --outDir dist --emptyOutDir",
"clean": "tsc --build --clean",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"clean": "tsc --build --clean"
},
"browserslist": {
"production": [
Expand Down
8 changes: 1 addition & 7 deletions demos/client-pow-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@
"build": "tsc --build --verbose",
"bundle:prod": "vite build --mode=production --config vite.config.ts --outDir dist --emptyOutDir",
"bundle:dev": "vite build --mode=development --config vite.config.ts --outDir dist --emptyOutDir",
"clean": "tsc --build --clean",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"clean": "tsc --build --clean"
},
"browserslist": {
"production": [
Expand Down
8 changes: 1 addition & 7 deletions demos/cypress-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@
"cypress:open:client-bundle-example:frictionless": "CYPRESS_BASE_URL='http://localhost:9232' cypress open --env default_page='/frictionless.html'",
"cypress:run:client-bundle-example:frictionless": "CYPRESS_BASE_URL='http://localhost:9232' cypress run --env default_page='/frictionless.html'",
"cypress:open:client-bundle-example:js_server": "CYPRESS_BASE_URL='http://localhost:9232' cypress open --env default_page='/jsBundleTest.html'",
"cypress:run:client-bundle-example:js_server": "CYPRESS_BASE_URL='http://localhost:9232' cypress run --env default_page='/jsBundleTest.html' --spec 'cypress/e2e/captcha.cy.ts'",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"cypress:run:client-bundle-example:js_server": "CYPRESS_BASE_URL='http://localhost:9232' cypress run --env default_page='/jsBundleTest.html' --spec 'cypress/e2e/captcha.cy.ts'"
}
}
8 changes: 1 addition & 7 deletions demos/provider-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@
"scripts": {
"test": "echo \"No test specified\"",
"clean": "tsc --build --clean",
"build": "tsc --build --verbose tsconfig.json",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"build": "tsc --build --verbose tsconfig.json"
},
"dependencies": {
"@prosopo/cli": "1.0.2",
Expand Down
14 changes: 1 addition & 13 deletions dev/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,7 @@
"test": "echo \"No test specified\"",
"clean": "tsc --build --clean",
"build": "tsc --build --verbose",
"build:cjs": "vite build --config vite.cjs.config.ts",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"build:cjs": "vite build --config vite.cjs.config.ts"
},
"engines": {
"node": ">=20",
Expand Down Expand Up @@ -59,15 +53,9 @@
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.2.1",
"babel-loader": "^9.1.3",
"esbuild": "^0.20.2",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^3.2.0",
"glob": "^10.0.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
Expand Down
8 changes: 1 addition & 7 deletions dev/flux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@
"clean": "tsc --build --clean",
"build": "tsc --build --verbose",
"build:cjs": "npx vite --config vite.cjs.config.ts build",
"cli": "node dist/index.js",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"cli": "node dist/index.js"
},
"author": "Prosopo Limited",
"license": "Apache-2.0",
Expand Down
8 changes: 1 addition & 7 deletions dev/gh-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"test": "echo \"No test specified\"",
"clean": "tsc --build --clean",
"build": "tsc --build --verbose",
"start": "npx tsx src/index.ts",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"start": "npx tsx src/index.ts"
},
"author": "",
"license": "ISC",
Expand Down
8 changes: 1 addition & 7 deletions dev/prosoponator-bot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"clean": "tsc --build --clean",
"build": "tsc --build --verbose",
"start": "npx tsx src/index.ts",
"test": "echo 'No test specified'",
"eslint": "npx eslint . --cache --cache-location ../../node_modules/.cache/eslint/.eslintcache --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore --quiet",
"eslint:fix": "npm run eslint -- --fix --quiet",
"prettier": "npx prettier . --cache --cache-location ../../node_modules/.cache/prettier/.prettiercache --check --no-error-on-unmatched-pattern --ignore-path ../../.eslintignore",
"prettier:fix": "npm run prettier -- --write",
"lint": "npm run eslint && npm run prettier",
"lint:fix": "npm run eslint:fix && npm run prettier:fix"
"test": "echo 'No test specified'"
},
"author": "",
"license": "ISC",
Expand Down
Loading
Loading