From 6c8892e031b8ba9b62e2746f7807b5dafb2b984b Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Sat, 10 Feb 2024 12:32:55 +0700 Subject: Add eslint eol-last rule (#662) * add eol-last eslint rule * fix lint * update css-json.test --- dev/generate-css-json.js | 1 + dev/jsconfig.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'dev') diff --git a/dev/generate-css-json.js b/dev/generate-css-json.js index 30728831..b196e411 100644 --- a/dev/generate-css-json.js +++ b/dev/generate-css-json.js @@ -119,6 +119,7 @@ export function formatRulesJson(rules) { } if (ruleIndex > 0) { result += '\n'; } result += ']'; + result += '\n'; return result; } diff --git a/dev/jsconfig.json b/dev/jsconfig.json index db38b6df..d9465108 100644 --- a/dev/jsconfig.json +++ b/dev/jsconfig.json @@ -79,4 +79,4 @@ "../node_modules", "lib" ] -} \ No newline at end of file +} -- cgit v1.2.3