-
-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡ Nuke package-lock; update dev dependencies
Includes replacement of styling with stylelint and a plugin for stylus. Pug and stylus code got a bit refactored due to the addition of new rules.
- Loading branch information
1 parent
a6aeb08
commit 832e8cf
Showing
33 changed files
with
7,563 additions
and
8,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
plugins: | ||
- stylelint-stylus | ||
overrides: | ||
- files: | ||
- '*.stylus' | ||
- '*.styl' | ||
- '**/*.stylus' | ||
- '**/*.styl' | ||
customSyntax: 'postcss-styl' | ||
rules: | ||
color-no-invalid-hex: true | ||
font-family-no-duplicate-names: true | ||
named-grid-areas-no-invalid: true | ||
function-calc-no-unspaced-operator: true | ||
function-linear-gradient-no-nonstandard-direction: true | ||
string-no-newline: true | ||
unit-no-unknown: true | ||
keyframe-declaration-no-important: true | ||
keyframe-block-no-duplicate-selectors: true | ||
declaration-block-no-duplicate-properties: true | ||
declaration-block-no-shorthand-property-overrides: true | ||
declaration-block-no-duplicate-custom-properties: true | ||
block-no-empty: true | ||
media-feature-name-no-unknown: true | ||
comment-no-empty: true | ||
no-duplicate-at-import-rules: true | ||
no-empty-source: true | ||
alpha-value-notation: 'number' | ||
length-zero-no-unit: true | ||
declaration-block-single-line-max-declarations: 1 | ||
selector-attribute-quotes: always | ||
selector-id-pattern: 'the[A-Z][a-zA-Z]*' | ||
no-irregular-whitespace: true | ||
|
||
stylus/pythonic: 'always' | ||
stylus/semicolon: 'never' | ||
stylus/property-no-unknown: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.