diff --git a/package.json b/package.json index e3b3192..ae59c17 100644 --- a/package.json +++ b/package.json @@ -95,6 +95,8 @@ "lint": "run-s --silent +:max-node-8 && shx echo \"[lint] WARN Lint checks skipped [for NodeJS < v10]\" 1>&2 || run-p --print-name \"lint:*\"", "# lint:commits # check for commit flaws (using `commitlint` and `cspell`)": "", "lint:commits": "run-s --silent _:v_tag:missing || run-p --silent \"_:lint:commits.new:*\"", + "# lint:editorconfig # check for EditorConfig format flaws (using `editorconfig-checker`)": "", + "lint:editorconfig": "editorconfig-checker -disable-max-line-length -exclude \"(build|dist)/.*\"", "# lint:lint # check for code 'lint' (using `eslint`)": "", "lint:lint": "eslint .", "# lint:markdown # check for markdown errors (using `remark`)": "", @@ -180,6 +182,7 @@ "coveralls": "^3.0.5", "cross-spawn": "^7.0.3", "cspell": "^4.2.7", + "editorconfig-checker": "^3.3.0", "eol-converter-cli": "^1.0.8", "eslint": "^7.17.0", "eslint-config-prettier": "^7.1.0",