mirror of
				https://github.com/theoludwig/html-w3c-validator.git
				synced 2025-05-21 23:21:29 +02:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			v1.6.1
			...
			e53c80d578
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e53c80d578 | |||
| 5f63d749e8 | 
| @@ -1,16 +1,19 @@ | ||||
| { | ||||
|   "extends": ["conventions", "prettier"], | ||||
|   "plugins": ["prettier", "import", "unicorn"], | ||||
|   "parserOptions": { | ||||
|     "project": "./tsconfig.json" | ||||
|   }, | ||||
|   "env": { | ||||
|     "node": true | ||||
|   }, | ||||
|   "root": true, | ||||
|   "extends": ["conventions"], | ||||
|   "plugins": ["import", "promise", "unicorn"], | ||||
|   "rules": { | ||||
|     "prettier/prettier": "error", | ||||
|     "import/extensions": ["error", "always"], | ||||
|     "unicorn/prevent-abbreviations": "error", | ||||
|     "unicorn/prefer-node-protocol": "error" | ||||
|   } | ||||
|     "unicorn/prevent-abbreviations": "error" | ||||
|   }, | ||||
|   "overrides": [ | ||||
|     { | ||||
|       "files": ["*.ts", "*.tsx"], | ||||
|       "parser": "@typescript-eslint/parser", | ||||
|       "plugins": ["@typescript-eslint"], | ||||
|       "parserOptions": { | ||||
|         "project": "./tsconfig.json" | ||||
|       } | ||||
|     } | ||||
|   ] | ||||
| } | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,10 +10,10 @@ jobs: | ||||
|   build: | ||||
|     runs-on: "ubuntu-latest" | ||||
|     steps: | ||||
|       - uses: "actions/checkout@v4.1.1" | ||||
|       - uses: "actions/checkout@v4.1.6" | ||||
|  | ||||
|       - name: "Setup Node.js" | ||||
|         uses: "actions/setup-node@v4.0.1" | ||||
|         uses: "actions/setup-node@v4.0.2" | ||||
|         with: | ||||
|           node-version: "lts/*" | ||||
|           cache: "npm" | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/lint.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,10 +10,10 @@ jobs: | ||||
|   lint: | ||||
|     runs-on: "ubuntu-latest" | ||||
|     steps: | ||||
|       - uses: "actions/checkout@v4.1.1" | ||||
|       - uses: "actions/checkout@v4.1.6" | ||||
|  | ||||
|       - name: "Setup Node.js" | ||||
|         uses: "actions/setup-node@v4.0.1" | ||||
|         uses: "actions/setup-node@v4.0.2" | ||||
|         with: | ||||
|           node-version: "lts/*" | ||||
|           cache: "npm" | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -13,13 +13,13 @@ jobs: | ||||
|       pull-requests: "write" | ||||
|       id-token: "write" | ||||
|     steps: | ||||
|       - uses: "actions/checkout@v4.1.1" | ||||
|       - uses: "actions/checkout@v4.1.6" | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|           persist-credentials: false | ||||
|  | ||||
|       - name: "Setup Node.js" | ||||
|         uses: "actions/setup-node@v4.0.1" | ||||
|         uses: "actions/setup-node@v4.0.2" | ||||
|         with: | ||||
|           node-version: "lts/*" | ||||
|           cache: "npm" | ||||
|   | ||||
							
								
								
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,10 +10,10 @@ jobs: | ||||
|   test: | ||||
|     runs-on: "ubuntu-latest" | ||||
|     steps: | ||||
|       - uses: "actions/checkout@v4.1.1" | ||||
|       - uses: "actions/checkout@v4.1.6" | ||||
|  | ||||
|       - name: "Setup Node.js" | ||||
|         uses: "actions/setup-node@v4.0.1" | ||||
|         uses: "actions/setup-node@v4.0.2" | ||||
|         with: | ||||
|           node-version: "lts/*" | ||||
|           cache: "npm" | ||||
|   | ||||
| @@ -66,7 +66,7 @@ npm install --save-dev html-w3c-validator start-server-and-test | ||||
|  | ||||
| ```jsonc | ||||
| { | ||||
|   "$schema": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/main/schema/html-w3c-validatorrc-schema.json", | ||||
|   "$schema": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/master/schema/html-w3c-validatorrc-schema.json", | ||||
|  | ||||
|   // URLs to validate. | ||||
|   "urls": ["http://127.0.0.1:3000/", "http://127.0.0.1:3000/about"], | ||||
|   | ||||
							
								
								
									
										278
									
								
								example/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										278
									
								
								example/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -6,7 +6,7 @@ | ||||
|     "test:html-w3c-validator": "start-server-and-test \"start\" \"http://127.0.0.1:3000\" \"html-w3c-validator\"" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "serve": "14.2.1", | ||||
|     "serve": "14.2.3", | ||||
|     "start-server-and-test": "2.0.3", | ||||
|     "html-w3c-validator": "file:.." | ||||
|   } | ||||
|   | ||||
							
								
								
									
										6029
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										6029
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										47
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										47
									
								
								package.json
									
									
									
									
									
								
							| @@ -33,8 +33,7 @@ | ||||
|     "provenance": true | ||||
|   }, | ||||
|   "engines": { | ||||
|     "node": ">=16.0.0", | ||||
|     "npm": ">=9.0.0" | ||||
|     "node": ">=16.0.0" | ||||
|   }, | ||||
|   "scripts": { | ||||
|     "build": "swc ./src --out-dir ./build --strip-leading-paths --delete-dir-on-start", | ||||
| @@ -57,34 +56,32 @@ | ||||
|     "log-symbols": "6.0.0", | ||||
|     "ora": "8.0.1", | ||||
|     "read-pkg": "9.0.1", | ||||
|     "table": "6.8.1" | ||||
|     "table": "6.8.2" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@commitlint/cli": "18.6.0", | ||||
|     "@commitlint/config-conventional": "18.6.0", | ||||
|     "@swc/cli": "0.3.6", | ||||
|     "@swc/core": "1.3.107", | ||||
|     "@tsconfig/strictest": "2.0.2", | ||||
|     "@types/node": "20.11.16", | ||||
|     "@commitlint/cli": "19.2.2", | ||||
|     "@commitlint/config-conventional": "19.2.2", | ||||
|     "@swc/cli": "0.3.12", | ||||
|     "@swc/core": "1.5.7", | ||||
|     "@tsconfig/strictest": "2.0.5", | ||||
|     "@types/node": "20.12.12", | ||||
|     "@types/sinon": "17.0.3", | ||||
|     "@typescript-eslint/eslint-plugin": "6.20.0", | ||||
|     "@typescript-eslint/parser": "6.20.0", | ||||
|     "editorconfig-checker": "5.1.2", | ||||
|     "eslint": "8.56.0", | ||||
|     "eslint-config-conventions": "13.1.0", | ||||
|     "eslint-config-prettier": "9.1.0", | ||||
|     "@typescript-eslint/eslint-plugin": "7.10.0", | ||||
|     "@typescript-eslint/parser": "7.10.0", | ||||
|     "editorconfig-checker": "5.1.5", | ||||
|     "eslint": "8.57.0", | ||||
|     "eslint-config-conventions": "14.2.0", | ||||
|     "eslint-plugin-import": "2.29.1", | ||||
|     "eslint-plugin-prettier": "5.1.3", | ||||
|     "eslint-plugin-promise": "6.1.1", | ||||
|     "eslint-plugin-unicorn": "50.0.1", | ||||
|     "execa": "8.0.1", | ||||
|     "husky": "9.0.10", | ||||
|     "lint-staged": "15.2.1", | ||||
|     "eslint-plugin-unicorn": "53.0.0", | ||||
|     "execa": "9.1.0", | ||||
|     "husky": "9.0.11", | ||||
|     "lint-staged": "15.2.4", | ||||
|     "pinst": "3.0.0", | ||||
|     "prettier": "3.2.4", | ||||
|     "semantic-release": "23.0.0", | ||||
|     "serve": "14.2.1", | ||||
|     "sinon": "17.0.1", | ||||
|     "typescript": "5.3.3" | ||||
|     "prettier": "3.2.5", | ||||
|     "semantic-release": "23.1.1", | ||||
|     "serve": "14.2.3", | ||||
|     "sinon": "18.0.0", | ||||
|     "typescript": "5.4.5" | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| { | ||||
|   "$schema": "http://json-schema.org/draft-07/schema#", | ||||
|   "$id": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/main/schema/html-w3c-validatorrc-schema.json", | ||||
|   "$id": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/master/schema/html-w3c-validatorrc-schema.json", | ||||
|   "title": "html-w3c-validator configuration schema", | ||||
|   "type": "object", | ||||
|   "properties": { | ||||
| @@ -8,7 +8,7 @@ | ||||
|       "description": "JSON Schema URI", | ||||
|       "type": "string", | ||||
|       "format": "uri", | ||||
|       "default": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/main/schema/html-w3c-validatorrc-schema.json" | ||||
|       "default": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/master/schema/html-w3c-validatorrc-schema.json" | ||||
|     }, | ||||
|     "urls": { | ||||
|       "description": "URLs to validate.", | ||||
|   | ||||
| @@ -9,6 +9,6 @@ | ||||
|     "rootDir": "./src", | ||||
|     "noEmit": true, | ||||
|     "exactOptionalPropertyTypes": false, | ||||
|     "checkJs": false, | ||||
|   }, | ||||
|     "checkJs": false | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user