diff options
author | Cashew <52880648+Scrub1492@users.noreply.github.com> | 2024-02-10 12:32:55 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 05:32:55 +0000 |
commit | 6c8892e031b8ba9b62e2746f7807b5dafb2b984b (patch) | |
tree | 67754e47b8ebe0815a8fa425fe95d2e6c7c18c66 /dev | |
parent | 884f2a0b9d81ffb41e0df46d2b16c2e102f93435 (diff) |
Add eslint eol-last rule (#662)
* add eol-last eslint rule
* fix lint
* update css-json.test
Diffstat (limited to 'dev')
-rw-r--r-- | dev/generate-css-json.js | 1 | ||||
-rw-r--r-- | dev/jsconfig.json | 2 |
2 files changed, 2 insertions, 1 deletions
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 +} |