aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 14:47:33 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 14:47:33 +0300
commitea076dbff177f20446ce8fda5f526aee6feed8b1 (patch)
treea9f40d4aca9cd08feb4a82e3082a9031df0eed58
parente3ef269fefaff8b15ab81f04254fa033ebb0108f (diff)
downloadeslint-config-ea076dbff177f20446ce8fda5f526aee6feed8b1.tar.xz
eslint-config-ea076dbff177f20446ce8fda5f526aee6feed8b1.zip
feat(eslint): Rule "semi-style"
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/eslint.json4
2 files changed, 5 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 2ad0795..98cad69 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -256,7 +256,7 @@
- [ ] "rest-spread-spacing"
- [X] "semi"
- [X] "semi-spacing"
-- [ ] "semi-style"
+- [X] "semi-style"
- [X] "sort-imports"
- [X] "sort-keys"
- [ ] "sort-vars"
diff --git a/src/rules/eslint.json b/src/rules/eslint.json
index 43f6f90..5f6f663 100644
--- a/src/rules/eslint.json
+++ b/src/rules/eslint.json
@@ -113,6 +113,10 @@
"before": false
}
],
+ "semi-style": [
+ "error",
+ "last"
+ ],
"sort-imports": [
"error",
{