diff --git a/.editorconfig b/.editorconfig
index 1fcb8188c..b73dd195a 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -8,7 +8,7 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
-[*.{html,js}]
+[*.{html,js,md}]
block_comment_start = /**
block_comment = *
block_comment_end = */
diff --git a/assets/.editorconfig b/assets/.editorconfig
new file mode 100644
index 000000000..78b36ca08
--- /dev/null
+++ b/assets/.editorconfig
@@ -0,0 +1 @@
+root = true
diff --git a/package.json b/package.json
index bf0a8bf78..d1617d8f4 100644
--- a/package.json
+++ b/package.json
@@ -43,12 +43,12 @@
"test:prune-snapshots": "karma start --prune-snapshots",
"test:bs": "karma start karma.bs.config.js --coverage",
"lint": "run-p lint:*",
- "lint:eclint": "eclint check $(find . \\( -name '*.html' -o -name '*.js' -o -name '*.css' \\) -type f -not -path '*/\\.*' -not -path '*node_modules/*' -not -path '*assets/*' -not -path '*coverage/*')",
+ "lint:eclint": "git ls-files | xargs eclint check",
"lint:eslint": "eslint --ext .js,.html .",
- "lint:prettier": "prettier '**/*.js' --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
+ "lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .js,.html . --fix",
- "format:prettier": "prettier '**/*.js' --write"
+ "format:prettier": "prettier \"**/*.js\" --write"
},
"lint-staged": {
"*": [
diff --git a/packages/field/docs/CustomFieldsTutorial.md b/packages/field/docs/CustomFieldsTutorial.md
index 36e54cad9..c7172d1e2 100644
--- a/packages/field/docs/CustomFieldsTutorial.md
+++ b/packages/field/docs/CustomFieldsTutorial.md
@@ -1,23 +1,23 @@
# Creating a custom field
-Custom fields can be created in just a few steps. All you need is an interaction element
+Custom fields can be created in just a few steps. All you need is an interaction element
(like for instance a slider, a listbox or a combobox) and connect it to the [Field](../README.md)
functionality.
## Prerequisite: an interaction element
-An interaction element provides the means for the end user to enter a certain value, just like
+An interaction element provides the means for the end user to enter a certain value, just like
native elements provide in this (think of ``, `