diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-02-16 19:37:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 00:37:01 +0000 |
commit | 4e77741d22778bd09b772fc53f1cbd64107e3d24 (patch) | |
tree | e8010d42ccba5341afd98177d3c1d69d856cbcbd /dev/generate-css-json.js | |
parent | 1e69210b53151f31140bb1fbdc9f3d71fa181630 (diff) |
Even more eslint rules (#696)
* capitalized-comments
* Turn rules on
* Add miscellaneous rules
* More rules
Diffstat (limited to 'dev/generate-css-json.js')
-rw-r--r-- | dev/generate-css-json.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/generate-css-json.js b/dev/generate-css-json.js index a837c9e2..adb75495 100644 --- a/dev/generate-css-json.js +++ b/dev/generate-css-json.js @@ -91,6 +91,7 @@ function removeProperty(styles, property, removedProperties) { * @returns {string} */ export function formatRulesJson(rules) { + // This is similar to the following code, but formatted a but more succinctly: // return JSON.stringify(rules, null, 4); const indent1 = ' '; const indent2 = indent1.repeat(2); |