Skip to content

Commit

Permalink
chore: release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherry committed Dec 27, 2023
1 parent 5867170 commit bbc67e2
Show file tree
Hide file tree
Showing 6 changed files with 890 additions and 309 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"root": true,
"extends": [
"@nodecraft/eslint-config"
"@nodecraft/eslint-config/typescript"
],
"parserOptions": {
"sourceType": "module"
Expand Down
130 changes: 65 additions & 65 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default {
'stylelint-config-standard',
],
plugins: [
'stylelint-codeguide',
'@stylistic/stylelint-plugin',
],
rules: {
'at-rule-no-unknown': [true, {
Expand Down Expand Up @@ -40,69 +40,69 @@ export default {
'value-no-vendor-prefix': true,

// stylistic rules
'codeguide/at-rule-name-case': 'lower',
'codeguide/at-rule-name-space-after': 'always-single-line',
'codeguide/at-rule-semicolon-newline-after': 'always',
'codeguide/block-closing-brace-empty-line-before': 'never',
'codeguide/block-closing-brace-newline-after': 'always',
'codeguide/block-closing-brace-newline-before': 'always-multi-line',
'codeguide/block-closing-brace-space-before': 'always-single-line',
'codeguide/block-opening-brace-newline-after': 'always-multi-line',
'codeguide/block-opening-brace-space-after': 'always-single-line',
'codeguide/block-opening-brace-space-before': 'always',
'codeguide/color-hex-case': 'lower',
'codeguide/declaration-bang-space-after': 'never',
'codeguide/declaration-bang-space-before': 'always',
'codeguide/declaration-block-semicolon-newline-after': 'always-multi-line',
'codeguide/declaration-block-semicolon-space-after': 'always-single-line',
'codeguide/declaration-block-semicolon-space-before': 'never',
'codeguide/declaration-block-trailing-semicolon': 'always',
'codeguide/declaration-colon-newline-after': 'always-multi-line',
'codeguide/declaration-colon-space-after': 'always-single-line',
'codeguide/declaration-colon-space-before': 'never',
'codeguide/function-comma-newline-after': 'always-multi-line',
'codeguide/function-comma-space-after': 'always-single-line',
'codeguide/function-comma-space-before': 'never',
'codeguide/function-max-empty-lines': 0,
'codeguide/function-parentheses-newline-inside': 'always-multi-line',
'codeguide/function-parentheses-space-inside': 'never-single-line',
'codeguide/function-whitespace-after': 'always',
'codeguide/indentation': 'tab',
'codeguide/max-empty-lines': 1,
'codeguide/max-line-length': 120,
'codeguide/media-feature-colon-space-after': 'always',
'codeguide/media-feature-colon-space-before': 'never',
'codeguide/media-feature-name-case': 'lower',
'codeguide/media-feature-parentheses-space-inside': 'never',
'codeguide/media-feature-range-operator-space-after': 'always',
'codeguide/media-feature-range-operator-space-before': 'always',
'codeguide/media-query-list-comma-newline-after': 'always-multi-line',
'codeguide/media-query-list-comma-space-after': 'always-single-line',
'codeguide/media-query-list-comma-space-before': 'never',
'codeguide/no-empty-first-line': true,
'codeguide/no-eol-whitespace': true,
'codeguide/no-extra-semicolons': true,
'codeguide/no-missing-end-of-source-newline': true,
'codeguide/number-leading-zero': 'always',
'codeguide/number-no-trailing-zeros': true,
'codeguide/property-case': 'lower',
'codeguide/selector-attribute-brackets-space-inside': 'never',
'codeguide/selector-attribute-operator-space-after': 'never',
'codeguide/selector-attribute-operator-space-before': 'never',
'codeguide/selector-combinator-space-after': 'always',
'codeguide/selector-combinator-space-before': 'always',
'codeguide/selector-descendant-combinator-no-non-space': true,
'codeguide/selector-list-comma-newline-after': 'always',
'codeguide/selector-list-comma-space-before': 'never',
'codeguide/selector-max-empty-lines': 0,
'codeguide/selector-pseudo-class-case': 'lower',
'codeguide/selector-pseudo-class-parentheses-space-inside': 'never',
'codeguide/selector-pseudo-element-case': 'lower',
'codeguide/string-quotes': 'double',
'codeguide/unit-case': 'lower',
'codeguide/value-list-comma-newline-after': 'always-multi-line',
'codeguide/value-list-comma-space-after': 'always-single-line',
'codeguide/value-list-comma-space-before': 'never',
'codeguide/value-list-max-empty-lines': 0,
'@stylistic/at-rule-name-case': 'lower',
'@stylistic/at-rule-name-space-after': 'always-single-line',
'@stylistic/at-rule-semicolon-newline-after': 'always',
'@stylistic/block-closing-brace-empty-line-before': 'never',
'@stylistic/block-closing-brace-newline-after': 'always',
'@stylistic/block-closing-brace-newline-before': 'always-multi-line',
'@stylistic/block-closing-brace-space-before': 'always-single-line',
'@stylistic/block-opening-brace-newline-after': 'always-multi-line',
'@stylistic/block-opening-brace-space-after': 'always-single-line',
'@stylistic/block-opening-brace-space-before': 'always',
'@stylistic/color-hex-case': 'lower',
'@stylistic/declaration-bang-space-after': 'never',
'@stylistic/declaration-bang-space-before': 'always',
'@stylistic/declaration-block-semicolon-newline-after': 'always-multi-line',
'@stylistic/declaration-block-semicolon-space-after': 'always-single-line',
'@stylistic/declaration-block-semicolon-space-before': 'never',
'@stylistic/declaration-block-trailing-semicolon': 'always',
'@stylistic/declaration-colon-newline-after': 'always-multi-line',
'@stylistic/declaration-colon-space-after': 'always-single-line',
'@stylistic/declaration-colon-space-before': 'never',
'@stylistic/function-comma-newline-after': 'always-multi-line',
'@stylistic/function-comma-space-after': 'always-single-line',
'@stylistic/function-comma-space-before': 'never',
'@stylistic/function-max-empty-lines': 0,
'@stylistic/function-parentheses-newline-inside': 'always-multi-line',
'@stylistic/function-parentheses-space-inside': 'never-single-line',
'@stylistic/function-whitespace-after': 'always',
'@stylistic/indentation': 'tab',
'@stylistic/max-empty-lines': 1,
'@stylistic/max-line-length': 120,
'@stylistic/media-feature-colon-space-after': 'always',
'@stylistic/media-feature-colon-space-before': 'never',
'@stylistic/media-feature-name-case': 'lower',
'@stylistic/media-feature-parentheses-space-inside': 'never',
'@stylistic/media-feature-range-operator-space-after': 'always',
'@stylistic/media-feature-range-operator-space-before': 'always',
'@stylistic/media-query-list-comma-newline-after': 'always-multi-line',
'@stylistic/media-query-list-comma-space-after': 'always-single-line',
'@stylistic/media-query-list-comma-space-before': 'never',
'@stylistic/no-empty-first-line': true,
'@stylistic/no-eol-whitespace': true,
'@stylistic/no-extra-semicolons': true,
'@stylistic/no-missing-end-of-source-newline': true,
'@stylistic/number-leading-zero': 'always',
'@stylistic/number-no-trailing-zeros': true,
'@stylistic/property-case': 'lower',
'@stylistic/selector-attribute-brackets-space-inside': 'never',
'@stylistic/selector-attribute-operator-space-after': 'never',
'@stylistic/selector-attribute-operator-space-before': 'never',
'@stylistic/selector-combinator-space-after': 'always',
'@stylistic/selector-combinator-space-before': 'always',
'@stylistic/selector-descendant-combinator-no-non-space': true,
'@stylistic/selector-list-comma-newline-after': 'always',
'@stylistic/selector-list-comma-space-before': 'never',
'@stylistic/selector-max-empty-lines': 0,
'@stylistic/selector-pseudo-class-case': 'lower',
'@stylistic/selector-pseudo-class-parentheses-space-inside': 'never',
'@stylistic/selector-pseudo-element-case': 'lower',
'@stylistic/string-quotes': 'double',
'@stylistic/unit-case': 'lower',
'@stylistic/value-list-comma-newline-after': 'always-multi-line',
'@stylistic/value-list-comma-space-after': 'always-single-line',
'@stylistic/value-list-comma-space-before': 'never',
'@stylistic/value-list-max-empty-lines': 0,
},
};
Loading

0 comments on commit bbc67e2

Please sign in to comment.