Skip to content

Commit

Permalink
chore(config): move Stylelint to package.json and drop contribute.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Mar 3, 2022
1 parent c40791b commit 2e12833
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 73 deletions.
25 changes: 4 additions & 21 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,22 +1,5 @@
# Auto detect text files and perform LF normalization
* text=auto
# Enforce Unix newlines
* text=auto eol=lf

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
# Don't diff or textually merge source maps
*.map binary
25 changes: 0 additions & 25 deletions .stylelintrc.json

This file was deleted.

27 changes: 0 additions & 27 deletions contribute.json

This file was deleted.

25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,31 @@
"uglify-es": "^3.3.9",
"webextension-polyfill": "^0.4.0"
},
"stylelint": {
"extends": "stylelint-config-standard-scss",
"rules": {
"no-invalid-position-at-import-rule": null,
"comment-whitespace-inside": null,
"string-quotes": null,
"color-function-notation": null,
"at-rule-empty-line-before": null,
"declaration-empty-line-before": null,
"comment-empty-line-before": null,
"max-line-length": 365,
"max-empty-lines": 2,
"no-duplicate-selectors": null,
"no-descending-specificity": null,
"selector-type-no-unknown": null,
"selector-list-comma-newline-after": null,
"number-leading-zero": null,
"scss/no-global-function-names": null,
"scss/operator-no-newline-before": null,
"scss/dollar-variable-colon-space-after": null,
"scss/function-quote-no-quoted-strings-inside": null,
"scss/function-unquote-no-unquoted-strings-inside": null,
"scss/dollar-variable-empty-line-before": null
}
},
"bundlewatch": {
"files": [
{
Expand Down

0 comments on commit 2e12833

Please sign in to comment.