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