diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index be2983739f..0000000000 --- a/.prettierrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "singleQuote": true, - "jsxBracketSameLine": false -} diff --git a/.stylelintrc.json b/.stylelintrc.json new file mode 100644 index 0000000000..f4e7cb588d --- /dev/null +++ b/.stylelintrc.json @@ -0,0 +1,40 @@ +{ + "extends": ["stylelint-config-standard-scss", "stylelint-config-css-modules"], + "plugins": ["stylelint-scss"], + "rules": { + "at-rule-empty-line-before": null, + "color-named": "never", + "declaration-block-no-redundant-longhand-properties": null, + "declaration-colon-space-after": "always", + "font-family-no-missing-generic-family-keyword": null, + "no-descending-specificity": null, + "no-duplicate-selectors": null, + "no-eol-whitespace": true, + "property-no-vendor-prefix": null, + "rule-empty-line-before": null, + "scss/at-extend-no-missing-placeholder": null, + "scss/comment-no-empty": null, + "scss/dollar-variable-pattern": null, + "scss/double-slash-comment-empty-line-before": null, + "scss/double-slash-comment-whitespace-inside": null, + "scss/function-no-unknown": null, + "scss/no-global-function-names": null, + "selector-class-pattern": null + }, + "TODO: remove these overrides as we move toward industry standards": [ + "at-rule-empty-line-before", + "declaration-block-no-redundant-longhand-properties", + "declaration-colon-space-after", + "font-family-no-missing-generic-family-keyword", + "no-descending-specificity", + "no-duplicate-selectors", + "rule-empty-line-before", + "scss/at-extend-no-missing-placeholder", + "scss/comment-no-empty", + "scss/dollar-variable-pattern", + "scss/double-slash-comment-whitespace-inside", + "scss/function-no-unknown", + "scss/no-global-function-names", + "selector-class-pattern" + ] +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000000..494eea3e63 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["stylelint.vscode-stylelint"] +} diff --git a/fec/data/templates/partials/warnings.jinja b/fec/data/templates/partials/warnings.jinja index d0fafe9875..62260839a8 100644 --- a/fec/data/templates/partials/warnings.jinja +++ b/fec/data/templates/partials/warnings.jinja @@ -7,7 +7,7 @@ -