Loading .csscomb.json +474 −407 Original line number Diff line number Diff line { "config": { "exclude": [ "config/**", "images/**", "js/**", "modules/**", "node_modules/**", "templates/**", ".git/**" "bower_components/**", "js/**", ".git/**", "css/mixins/**" ], "always-semicolon": true, "remove-empty-rulesets": true, "block-indent": 2, "color-case": "lower", "color-shorthand": true, "element-case": "lower", "eof-newline": true, "leading-zero": true, "lines-between-rulesets": false, "quotes": "double", "remove-empty-rulesets": true, "sort-order-fallback": "abc", "space-after-colon": " ", "space-after-combinator": " ", Loading @@ -26,13 +26,11 @@ "space-before-combinator": " ", "space-before-opening-brace": " ", "space-before-selector-delimiter": "", "space-before-closing-brace": "\n", "space-between-declarations": "\n", "block-indent": 2, "strip-spaces": true, "space-before-closing-brace": "\n", "unitless-zero": true, "tab-size": 2, "lines-between-rulesets": false, "unitless-zero": true, "verbose": true, "sort-order": [ [ Loading @@ -42,14 +40,13 @@ "$extend", "$variable", "$include", "position", "z-index", "auto", "top", "right", "bottom", "left", "display", "visibility", "float", Loading @@ -62,23 +59,57 @@ "-webkit-overflow-scrolling", "clip", "zoom", "-webkit-box-flex", "-webkit-flex", "-ms-flex", "flex", "-webkit-flex-direction", "-ms-flex-direction", "flex-direction", "-webkit-flex-basis", "flex-basis", "-webkit-flex-flow", "-webkit-box-direction", "-webkit-box-orient", "-moz-flex-flow", "-ms-flex-flow", "flex-flow", "-webkit-flex-grow", "flex-grow", "-webkit-flex-shrink", "-ms-flex-negative", "flex-shrink", "-webkit-flex-wrap", "-moz-flex-wrap", "-ms-flex-wrap", "flex-wrap", "-ms-flex-order", "flex-order", "-webkit-order", "-webkit-box-ordinal-group", "order", "-ms-flex-pack", "flex-order", "flex-pack", "align", "-webkit-align-self", "-moz-align-self", "-ms-align-self", "-ms-flex-item-align", "align-self", "justify-content", "-webkit-align-items", "-webkit-box-align", "-ms-flex-align", "align-items", "-webkit-align-content", "align-content", "flex-align", "-webkit-justify-content", "-webkit-box-pack", "justify-content", "justify-items", "justify-self", "-webkit-box-sizing", "-moz-box-sizing", "box-sizing", Loading @@ -98,7 +129,6 @@ "padding-right", "padding-bottom", "padding-left", "table-layout", "-webkit-columns", "-moz-columns", Loading Loading @@ -130,6 +160,8 @@ "-webkit-column-rule-color", "-moz-column-rule-color", "column-rule-color", "grid-column-start", "grid-column-end", "empty-cells", "caption-side", "border-spacing", Loading @@ -139,7 +171,9 @@ "list-style-position", "list-style-type", "list-style-image", "-webkit-appearance", "-moz-appearance", "appearance", "content", "quotes", "counter-reset", Loading Loading @@ -170,6 +204,7 @@ "-ms-transition-timing-function", "-o-transition-timing-function", "transition-timing-function", "will-change", "-webkit-transition-duration", "-moz-transition-duration", "-ms-transition-duration", Loading Loading @@ -238,6 +273,7 @@ "text-align-last", "vertical-align", "white-space", "-webkit-text-decoration", "text-decoration", "text-emphasis", "text-emphasis-color", Loading @@ -255,6 +291,7 @@ "text-wrap", "text-overflow", "-ms-text-overflow", "-o-text-overflow", "text-overflow-ellipsis", "text-overflow-mode", "-ms-word-wrap", Loading @@ -267,12 +304,15 @@ "-webkit-hyphens", "-moz-hyphens", "hyphens", "page-break", "page-break-before", "page-break-inside", "page-break-after", "pointer-events", "direction", "unicode-bidi", "orphans", "widows", "opacity", "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha", Loading Loading @@ -348,6 +388,8 @@ "outline-offset", "background", "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", "-o-object-fit", "object-fit", "background-color", "background-image", "background-repeat", Loading @@ -372,7 +414,6 @@ "filter:progid:DXImageTransform.Microsoft.gradient", "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient", "text-shadow", "$font-face", "font", "font-family", Loading @@ -396,8 +437,35 @@ "font-emphasize-position", "font-emphasize-style", "font-smooth", "font-display", "line-height", "line-break", "-webkit-tap-highlight-color", "-webkit-text-size-adjust", "-webkit-text-decoration-skip-ink", "text-decoration-skip-ink", "-ms-overflow-style", "-ms-flex-positive", "-ms-flex-preferred-size", "-webkit-print-color-adjust", "-webkit-backface-visibility", "backface-visibility", "color-adjust", "-ms-flex-line-pack", "-webkit-margin-after", "-webkit-margin-before", "margin-block-end", "margin-block-start", "-webkit-margin-end", "-moz-margin-end", "margin-inline-end", "margin-inline-start", "-webkit-margin-start", "-moz-margin-start", "padding-inline-start", "-webkit-padding-start", "-moz-padding-start", "tabindex", "$media", "$supports", "$document", Loading @@ -406,4 +474,3 @@ ] ] } No newline at end of file } .eslintignore 0 → 100644 +2 −0 Original line number Diff line number Diff line **/node_modules gulpfile.js .eslintrc.json 0 → 100644 +52 −0 Original line number Diff line number Diff line { "extends": [ "airbnb-base", "plugin:prettier/recommended", "plugin:yml/recommended" ], "root": true, "env": { "browser": true, "es6": true, "node": true }, "globals": { "Drupal": true, "drupalSettings": true, "drupalTranslations": true, "jQuery": true, "_": true, "Cookies": true, "Backbone": true, "Modernizr": true, "loadjs": true, "Popper": true, "Shepherd": true, "Sortable": true, "once": true, "CKEDITOR": true, "CKEditor5": true, "tabbable": true }, "rules": { "prettier/prettier": "error", "consistent-return": ["off"], "no-underscore-dangle": ["off"], "max-nested-callbacks": ["warn", 3], "import/no-mutable-exports": ["warn"], "no-plusplus": ["warn", { "allowForLoopAfterthoughts": true }], "no-param-reassign": ["off"], "no-prototype-builtins": ["off"], "valid-jsdoc": ["warn", { "prefer": { "returns": "return", "property": "prop" }, "requireReturn": false }], "no-unused-vars": ["warn"], "operator-linebreak": ["error", "after", { "overrides": { "?": "ignore", ":": "ignore" } }] } } .phpcs.xml 0 → 100644 +366 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <ruleset name="custom_code"> <description>Default PHP CodeSniffer configuration for custom code.</description> <arg name="extensions" value="inc,install,module,php,profile,test,theme,yml,css"/> <!--Exclude folders used by common frontend tools. These folders match the file_scan_ignore_directories setting in default.settings.php--> <exclude-pattern>*/node_modules/*</exclude-pattern> <exclude-pattern>*/bower_components/*</exclude-pattern> <!-- Only include specific sniffs that pass. This ensures that, if new sniffs are added, HEAD does not fail.--> <!-- Drupal sniffs --> <rule ref="Drupal.Arrays.Array"> <!-- Sniff for these errors: CommaLastItem --> <exclude name="Drupal.Arrays.Array.ArrayClosingIndentation"/> <exclude name="Drupal.Arrays.Array.ArrayIndentation"/> <exclude name="Drupal.Arrays.Array.LongLineDeclaration"/> </rule> <rule ref="Drupal.Classes.ClassCreateInstance"/> <rule ref="Drupal.Classes.ClassDeclaration"/> <rule ref="Drupal.Classes.ClassFileName"/> <rule ref="Drupal.Classes.FullyQualifiedNamespace"/> <rule ref="Drupal.Classes.InterfaceName"/> <rule ref="Drupal.Classes.PropertyDeclaration"/> <rule ref="Drupal.Classes.UnusedUseStatement"/> <rule ref="Drupal.Classes.UseGlobalClass"/> <rule ref="Drupal.Classes.UseLeadingBackslash"/> <rule ref="Drupal.CSS.ClassDefinitionNameSpacing"/> <rule ref="Drupal.CSS.ColourDefinition"/> <rule ref="Drupal.Commenting.ClassComment"> <exclude name="Drupal.Commenting.ClassComment.Missing"/> </rule> <rule ref="Drupal.Commenting.DataTypeNamespace"/> <rule ref="Drupal.Commenting.Deprecated"/> <rule ref="Drupal.Commenting.DocComment"> <!-- Sniff for these errors: SpacingAfterTagGroup, WrongEnd, SpacingBetween, ContentAfterOpen, SpacingBeforeShort, TagValueIndent, ShortStartSpace, SpacingAfter, LongNotCapital, ShortFullStop, TagGroupSpacing, Empty, TagsNotGrouped, ParamGroup --> <!-- ParamNotFirst still not decided for PHPUnit-based tests. @see https://www.drupal.org/node/2253915 --> <exclude name="Drupal.Commenting.DocComment.ParamNotFirst"/> <exclude name="Drupal.Commenting.DocComment.SpacingBeforeTags"/> <exclude name="Drupal.Commenting.DocComment.LongFullStop"/> <exclude name="Drupal.Commenting.DocComment.ShortNotCapital"/> <exclude name="Drupal.Commenting.DocComment.ShortSingleLine"/> <exclude name="Drupal.Commenting.DocComment.MissingShort"/> </rule> <rule ref="Drupal.Commenting.DocCommentAlignment"/> <rule ref="Drupal.Commenting.DocCommentStar"/> <rule ref="Drupal.Commenting.FileComment"/> <rule ref="Drupal.Commenting.FunctionComment"> <exclude name="Drupal.Commenting.FunctionComment.InvalidNoReturn"/> <exclude name="Drupal.Commenting.FunctionComment.Missing"/> <exclude name="Drupal.Commenting.FunctionComment.MissingParamComment"/> <exclude name="Drupal.Commenting.FunctionComment.MissingParamType"/> <exclude name="Drupal.Commenting.FunctionComment.MissingReturnComment"/> <exclude name="Drupal.Commenting.FunctionComment.MissingReturnType"/> <exclude name="Drupal.Commenting.FunctionComment.ParamCommentFullStop"/> <exclude name="Drupal.Commenting.FunctionComment.TypeHintMissing"/> </rule> <rule ref="Drupal.Commenting.HookComment"/> <rule ref="Drupal.Commenting.GenderNeutralComment"/> <rule ref="Drupal.Commenting.InlineVariableComment"/> <rule ref="Drupal.Commenting.VariableComment"> <!-- Sniff for: DuplicateVar, EmptyVar, InlineVariableName, WrongStyle --> <exclude name="Drupal.Commenting.VariableComment.IncorrectVarType"/> <exclude name="Drupal.Commenting.VariableComment.Missing"/> <exclude name="Drupal.Commenting.VariableComment.MissingVar"/> <exclude name="Drupal.Commenting.VariableComment.VarOrder"/> </rule> <rule ref="Drupal.Commenting.InlineComment"> <!-- Sniff for: NoSpaceBefore, SpacingBefore, WrongStyle --> <exclude name="Drupal.Commenting.InlineComment.DocBlock"/> <exclude name="Drupal.Commenting.InlineComment.InvalidEndChar"/> <exclude name="Drupal.Commenting.InlineComment.NotCapital"/> <exclude name="Drupal.Commenting.InlineComment.SpacingAfter"/> </rule> <rule ref="Drupal.Commenting.PostStatementComment"/> <rule ref="Drupal.ControlStructures.ElseIf"/> <rule ref="Drupal.ControlStructures.ControlSignature"/> <rule ref="Drupal.ControlStructures.InlineControlStructure"/> <rule ref="Drupal.Files.EndFileNewline"/> <rule ref="Drupal.Files.FileEncoding"/> <rule ref="Drupal.Files.TxtFileLineLength"/> <rule ref="Drupal.Formatting.MultiLineAssignment"/> <rule ref="Drupal.Formatting.MultipleStatementAlignment"/> <rule ref="Drupal.Formatting.SpaceInlineIf"/> <rule ref="Drupal.Formatting.SpaceUnaryOperator"/> <rule ref="Drupal.Functions.DiscouragedFunctions"/> <rule ref="Drupal.Functions.FunctionDeclaration"/> <rule ref="Drupal.InfoFiles.AutoAddedKeys"/> <rule ref="Drupal.InfoFiles.ClassFiles"/> <rule ref="Drupal.InfoFiles.DuplicateEntry"/> <rule ref="Drupal.InfoFiles.Required"/> <rule ref="Drupal.Methods.MethodDeclaration"> <!-- Silence method name underscore warning which is covered already in Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps. --> <exclude name="Drupal.Methods.MethodDeclaration.Underscore"/> </rule> <rule ref="Drupal.NamingConventions.ValidVariableName"> <!-- Sniff for: LowerStart --> <exclude name="Drupal.NamingConventions.ValidVariableName.LowerCamelName"/> </rule> <rule ref="Drupal.Scope.MethodScope"/> <rule ref="Drupal.Semantics.EmptyInstall"/> <rule ref="Drupal.Semantics.FunctionAlias"/> <rule ref="Drupal.Semantics.FunctionT"> <exclude name="Drupal.Semantics.FunctionT.NotLiteralString"/> </rule> <rule ref="Drupal.Semantics.FunctionWatchdog"/> <rule ref="Drupal.Semantics.InstallHooks"/> <rule ref="Drupal.Semantics.LStringTranslatable"/> <rule ref="Drupal.Semantics.PregSecurity"/> <rule ref="Drupal.Semantics.RemoteAddress"/> <rule ref="Drupal.Semantics.TInHookMenu"/> <rule ref="Drupal.Semantics.TInHookSchema"/> <rule ref="Drupal.Strings.UnnecessaryStringConcat"/> <rule ref="Drupal.WhiteSpace.CloseBracketSpacing"/> <rule ref="Drupal.WhiteSpace.Comma"/> <rule ref="Drupal.WhiteSpace.EmptyLines"/> <rule ref="Drupal.WhiteSpace.Namespace"/> <rule ref="Drupal.WhiteSpace.ObjectOperatorIndent"/> <rule ref="Drupal.WhiteSpace.ObjectOperatorSpacing"/> <rule ref="Drupal.WhiteSpace.OpenBracketSpacing"/> <rule ref="Drupal.WhiteSpace.OpenTagNewline"/> <rule ref="Drupal.WhiteSpace.ScopeClosingBrace"/> <rule ref="Drupal.WhiteSpace.ScopeIndent"/> <!-- Drupal Practice sniffs --> <rule ref="DrupalPractice.Commenting.ExpectedException"/> <rule ref="DrupalPractice.General.ExceptionT"/> <rule ref="DrupalPractice.InfoFiles.NamespacedDependency"/> <!-- Generic sniffs --> <rule ref="Generic.Arrays.DisallowLongArraySyntax"/> <rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/> <rule ref="Generic.Files.ByteOrderMark"/> <rule ref="Generic.Files.LineEndings"/> <rule ref="Generic.Formatting.DisallowMultipleStatements"/> <rule ref="Generic.Formatting.SpaceAfterCast"/> <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> <rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"> <properties> <property name="checkClosures" value="true"/> </properties> </rule> <rule ref="Drupal.NamingConventions.ValidClassName"/> <rule ref="Drupal.NamingConventions.ValidGlobal"/> <rule ref="Generic.NamingConventions.ConstructorName"/> <rule ref="Generic.NamingConventions.UpperCaseConstantName"/> <rule ref="Generic.PHP.DeprecatedFunctions"/> <rule ref="Generic.PHP.DisallowShortOpenTag"/> <rule ref="Generic.PHP.LowerCaseKeyword"/> <rule ref="Generic.PHP.UpperCaseConstant"/> <rule ref="Generic.WhiteSpace.DisallowTabIndent"/> <!-- Internal sniffs --> <rule ref="Internal.NoCodeFound"> <!-- No PHP code in *.yml --> <exclude-pattern>*.yml</exclude-pattern> </rule> <!-- MySource sniffs --> <rule ref="MySource.Debug.DebugCode"/> <!-- PEAR sniffs --> <rule ref="PEAR.Files.IncludingFile"/> <!-- Disable some error messages that we do not want. --> <rule ref="PEAR.Files.IncludingFile.UseIncludeOnce"> <severity>0</severity> </rule> <rule ref="PEAR.Files.IncludingFile.UseInclude"> <severity>0</severity> </rule> <rule ref="PEAR.Files.IncludingFile.UseRequireOnce"> <severity>0</severity> </rule> <rule ref="PEAR.Files.IncludingFile.UseRequire"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.ValidDefaultValue"/> <!-- PEAR sniffs --> <rule ref="PEAR.Functions.FunctionCallSignature"/> <!-- The sniffs inside PEAR.Functions.FunctionCallSignature silenced below are also silenced in Drupal CS' ruleset.xml. The code below is a 1-on-1 copy from that file. --> <!-- Disable some error messages that we already cover. --> <rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket"> <severity>0</severity> </rule> <!-- Disable some error messages that we do not want. --> <rule ref="PEAR.Functions.FunctionCallSignature.Indent"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.OpeningIndent"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.EmptyLine"> <severity>0</severity> </rule> <!-- PSR-2 sniffs --> <rule ref="PSR2.Classes.PropertyDeclaration"> <!-- Silence method name underscore warning which is covered already in Drupal.Classes.PropertyDeclaration. --> <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> </rule> <rule ref="PSR2.Namespaces.NamespaceDeclaration"/> <rule ref="PSR2.Namespaces.UseDeclaration"/> <!-- Squiz sniffs --> <rule ref="Squiz.Arrays.ArrayBracketSpacing"/> <rule ref="Squiz.Arrays.ArrayDeclaration"> <exclude name="Squiz.Arrays.ArrayDeclaration.NoKeySpecified"/> <exclude name="Squiz.Arrays.ArrayDeclaration.KeySpecified"/> </rule> <!-- Disable some error messages that we do not want. --> <rule ref="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.FirstValueNoNewline"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.KeyNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.NoComma"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.NoCommaAfterLast"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.NotLowerCase"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.ValueNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.ValueNoNewline"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration"/> <!-- Disable some error messages that we already cover. --> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForLoopDeclaration"/> <!-- Disable some error messages that we already cover. --> <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration"/> <!-- Disable some error messages that we do not want. --> <rule ref="Squiz.ControlStructures.SwitchDeclaration.BreakIndent"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.CaseIndent"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.CloseBraceAlign"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultIndent"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultNoBreak"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.EmptyCase"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.EmptyDefault"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.MissingDefault"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterCase"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingBeforeBreak"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration"/> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace"> <severity>0</severity> </rule> <!-- Standard yet to be finalized on this (https://www.drupal.org/node/1539712). --> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.FirstParamSpacing"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.Indent"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> <properties> <property name="equalsSpacing" value="1"/> </properties> </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg"> <severity>0</severity> </rule> <rule ref="Squiz.PHP.LowercasePHPFunctions"/> <rule ref="Squiz.PHP.NonExecutableCode"/> <rule ref="Squiz.Strings.ConcatenationSpacing"> <properties> <property name="spacing" value="1"/> <property name="ignoreNewlines" value="true"/> </properties> </rule> <rule ref="Squiz.WhiteSpace.FunctionSpacing"> <properties> <property name="spacing" value="1"/> </properties> </rule> <rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/> <rule ref="Squiz.WhiteSpace.OperatorSpacing"> <properties> <property name="ignoreNewlines" value="true"/> </properties> </rule> <rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/> <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> <!-- Zend sniffs --> <rule ref="Zend.Files.ClosingTag"/> </ruleset> .stylelintignore 0 → 100644 +13 −0 Original line number Diff line number Diff line node_modules/**/*.css scss/**/*.scss **/*.min.css" scss/* js/* tests/* config/**/*.yml *.yml .* *.png *.svg *.ico *.json Loading
.csscomb.json +474 −407 Original line number Diff line number Diff line { "config": { "exclude": [ "config/**", "images/**", "js/**", "modules/**", "node_modules/**", "templates/**", ".git/**" "bower_components/**", "js/**", ".git/**", "css/mixins/**" ], "always-semicolon": true, "remove-empty-rulesets": true, "block-indent": 2, "color-case": "lower", "color-shorthand": true, "element-case": "lower", "eof-newline": true, "leading-zero": true, "lines-between-rulesets": false, "quotes": "double", "remove-empty-rulesets": true, "sort-order-fallback": "abc", "space-after-colon": " ", "space-after-combinator": " ", Loading @@ -26,13 +26,11 @@ "space-before-combinator": " ", "space-before-opening-brace": " ", "space-before-selector-delimiter": "", "space-before-closing-brace": "\n", "space-between-declarations": "\n", "block-indent": 2, "strip-spaces": true, "space-before-closing-brace": "\n", "unitless-zero": true, "tab-size": 2, "lines-between-rulesets": false, "unitless-zero": true, "verbose": true, "sort-order": [ [ Loading @@ -42,14 +40,13 @@ "$extend", "$variable", "$include", "position", "z-index", "auto", "top", "right", "bottom", "left", "display", "visibility", "float", Loading @@ -62,23 +59,57 @@ "-webkit-overflow-scrolling", "clip", "zoom", "-webkit-box-flex", "-webkit-flex", "-ms-flex", "flex", "-webkit-flex-direction", "-ms-flex-direction", "flex-direction", "-webkit-flex-basis", "flex-basis", "-webkit-flex-flow", "-webkit-box-direction", "-webkit-box-orient", "-moz-flex-flow", "-ms-flex-flow", "flex-flow", "-webkit-flex-grow", "flex-grow", "-webkit-flex-shrink", "-ms-flex-negative", "flex-shrink", "-webkit-flex-wrap", "-moz-flex-wrap", "-ms-flex-wrap", "flex-wrap", "-ms-flex-order", "flex-order", "-webkit-order", "-webkit-box-ordinal-group", "order", "-ms-flex-pack", "flex-order", "flex-pack", "align", "-webkit-align-self", "-moz-align-self", "-ms-align-self", "-ms-flex-item-align", "align-self", "justify-content", "-webkit-align-items", "-webkit-box-align", "-ms-flex-align", "align-items", "-webkit-align-content", "align-content", "flex-align", "-webkit-justify-content", "-webkit-box-pack", "justify-content", "justify-items", "justify-self", "-webkit-box-sizing", "-moz-box-sizing", "box-sizing", Loading @@ -98,7 +129,6 @@ "padding-right", "padding-bottom", "padding-left", "table-layout", "-webkit-columns", "-moz-columns", Loading Loading @@ -130,6 +160,8 @@ "-webkit-column-rule-color", "-moz-column-rule-color", "column-rule-color", "grid-column-start", "grid-column-end", "empty-cells", "caption-side", "border-spacing", Loading @@ -139,7 +171,9 @@ "list-style-position", "list-style-type", "list-style-image", "-webkit-appearance", "-moz-appearance", "appearance", "content", "quotes", "counter-reset", Loading Loading @@ -170,6 +204,7 @@ "-ms-transition-timing-function", "-o-transition-timing-function", "transition-timing-function", "will-change", "-webkit-transition-duration", "-moz-transition-duration", "-ms-transition-duration", Loading Loading @@ -238,6 +273,7 @@ "text-align-last", "vertical-align", "white-space", "-webkit-text-decoration", "text-decoration", "text-emphasis", "text-emphasis-color", Loading @@ -255,6 +291,7 @@ "text-wrap", "text-overflow", "-ms-text-overflow", "-o-text-overflow", "text-overflow-ellipsis", "text-overflow-mode", "-ms-word-wrap", Loading @@ -267,12 +304,15 @@ "-webkit-hyphens", "-moz-hyphens", "hyphens", "page-break", "page-break-before", "page-break-inside", "page-break-after", "pointer-events", "direction", "unicode-bidi", "orphans", "widows", "opacity", "filter:progid:DXImageTransform.Microsoft.Alpha(Opacity", "-ms-filter:\\'progid:DXImageTransform.Microsoft.Alpha", Loading Loading @@ -348,6 +388,8 @@ "outline-offset", "background", "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", "-o-object-fit", "object-fit", "background-color", "background-image", "background-repeat", Loading @@ -372,7 +414,6 @@ "filter:progid:DXImageTransform.Microsoft.gradient", "-ms-filter:\\'progid:DXImageTransform.Microsoft.gradient", "text-shadow", "$font-face", "font", "font-family", Loading @@ -396,8 +437,35 @@ "font-emphasize-position", "font-emphasize-style", "font-smooth", "font-display", "line-height", "line-break", "-webkit-tap-highlight-color", "-webkit-text-size-adjust", "-webkit-text-decoration-skip-ink", "text-decoration-skip-ink", "-ms-overflow-style", "-ms-flex-positive", "-ms-flex-preferred-size", "-webkit-print-color-adjust", "-webkit-backface-visibility", "backface-visibility", "color-adjust", "-ms-flex-line-pack", "-webkit-margin-after", "-webkit-margin-before", "margin-block-end", "margin-block-start", "-webkit-margin-end", "-moz-margin-end", "margin-inline-end", "margin-inline-start", "-webkit-margin-start", "-moz-margin-start", "padding-inline-start", "-webkit-padding-start", "-moz-padding-start", "tabindex", "$media", "$supports", "$document", Loading @@ -406,4 +474,3 @@ ] ] } No newline at end of file }
.eslintignore 0 → 100644 +2 −0 Original line number Diff line number Diff line **/node_modules gulpfile.js
.eslintrc.json 0 → 100644 +52 −0 Original line number Diff line number Diff line { "extends": [ "airbnb-base", "plugin:prettier/recommended", "plugin:yml/recommended" ], "root": true, "env": { "browser": true, "es6": true, "node": true }, "globals": { "Drupal": true, "drupalSettings": true, "drupalTranslations": true, "jQuery": true, "_": true, "Cookies": true, "Backbone": true, "Modernizr": true, "loadjs": true, "Popper": true, "Shepherd": true, "Sortable": true, "once": true, "CKEDITOR": true, "CKEditor5": true, "tabbable": true }, "rules": { "prettier/prettier": "error", "consistent-return": ["off"], "no-underscore-dangle": ["off"], "max-nested-callbacks": ["warn", 3], "import/no-mutable-exports": ["warn"], "no-plusplus": ["warn", { "allowForLoopAfterthoughts": true }], "no-param-reassign": ["off"], "no-prototype-builtins": ["off"], "valid-jsdoc": ["warn", { "prefer": { "returns": "return", "property": "prop" }, "requireReturn": false }], "no-unused-vars": ["warn"], "operator-linebreak": ["error", "after", { "overrides": { "?": "ignore", ":": "ignore" } }] } }
.phpcs.xml 0 → 100644 +366 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <ruleset name="custom_code"> <description>Default PHP CodeSniffer configuration for custom code.</description> <arg name="extensions" value="inc,install,module,php,profile,test,theme,yml,css"/> <!--Exclude folders used by common frontend tools. These folders match the file_scan_ignore_directories setting in default.settings.php--> <exclude-pattern>*/node_modules/*</exclude-pattern> <exclude-pattern>*/bower_components/*</exclude-pattern> <!-- Only include specific sniffs that pass. This ensures that, if new sniffs are added, HEAD does not fail.--> <!-- Drupal sniffs --> <rule ref="Drupal.Arrays.Array"> <!-- Sniff for these errors: CommaLastItem --> <exclude name="Drupal.Arrays.Array.ArrayClosingIndentation"/> <exclude name="Drupal.Arrays.Array.ArrayIndentation"/> <exclude name="Drupal.Arrays.Array.LongLineDeclaration"/> </rule> <rule ref="Drupal.Classes.ClassCreateInstance"/> <rule ref="Drupal.Classes.ClassDeclaration"/> <rule ref="Drupal.Classes.ClassFileName"/> <rule ref="Drupal.Classes.FullyQualifiedNamespace"/> <rule ref="Drupal.Classes.InterfaceName"/> <rule ref="Drupal.Classes.PropertyDeclaration"/> <rule ref="Drupal.Classes.UnusedUseStatement"/> <rule ref="Drupal.Classes.UseGlobalClass"/> <rule ref="Drupal.Classes.UseLeadingBackslash"/> <rule ref="Drupal.CSS.ClassDefinitionNameSpacing"/> <rule ref="Drupal.CSS.ColourDefinition"/> <rule ref="Drupal.Commenting.ClassComment"> <exclude name="Drupal.Commenting.ClassComment.Missing"/> </rule> <rule ref="Drupal.Commenting.DataTypeNamespace"/> <rule ref="Drupal.Commenting.Deprecated"/> <rule ref="Drupal.Commenting.DocComment"> <!-- Sniff for these errors: SpacingAfterTagGroup, WrongEnd, SpacingBetween, ContentAfterOpen, SpacingBeforeShort, TagValueIndent, ShortStartSpace, SpacingAfter, LongNotCapital, ShortFullStop, TagGroupSpacing, Empty, TagsNotGrouped, ParamGroup --> <!-- ParamNotFirst still not decided for PHPUnit-based tests. @see https://www.drupal.org/node/2253915 --> <exclude name="Drupal.Commenting.DocComment.ParamNotFirst"/> <exclude name="Drupal.Commenting.DocComment.SpacingBeforeTags"/> <exclude name="Drupal.Commenting.DocComment.LongFullStop"/> <exclude name="Drupal.Commenting.DocComment.ShortNotCapital"/> <exclude name="Drupal.Commenting.DocComment.ShortSingleLine"/> <exclude name="Drupal.Commenting.DocComment.MissingShort"/> </rule> <rule ref="Drupal.Commenting.DocCommentAlignment"/> <rule ref="Drupal.Commenting.DocCommentStar"/> <rule ref="Drupal.Commenting.FileComment"/> <rule ref="Drupal.Commenting.FunctionComment"> <exclude name="Drupal.Commenting.FunctionComment.InvalidNoReturn"/> <exclude name="Drupal.Commenting.FunctionComment.Missing"/> <exclude name="Drupal.Commenting.FunctionComment.MissingParamComment"/> <exclude name="Drupal.Commenting.FunctionComment.MissingParamType"/> <exclude name="Drupal.Commenting.FunctionComment.MissingReturnComment"/> <exclude name="Drupal.Commenting.FunctionComment.MissingReturnType"/> <exclude name="Drupal.Commenting.FunctionComment.ParamCommentFullStop"/> <exclude name="Drupal.Commenting.FunctionComment.TypeHintMissing"/> </rule> <rule ref="Drupal.Commenting.HookComment"/> <rule ref="Drupal.Commenting.GenderNeutralComment"/> <rule ref="Drupal.Commenting.InlineVariableComment"/> <rule ref="Drupal.Commenting.VariableComment"> <!-- Sniff for: DuplicateVar, EmptyVar, InlineVariableName, WrongStyle --> <exclude name="Drupal.Commenting.VariableComment.IncorrectVarType"/> <exclude name="Drupal.Commenting.VariableComment.Missing"/> <exclude name="Drupal.Commenting.VariableComment.MissingVar"/> <exclude name="Drupal.Commenting.VariableComment.VarOrder"/> </rule> <rule ref="Drupal.Commenting.InlineComment"> <!-- Sniff for: NoSpaceBefore, SpacingBefore, WrongStyle --> <exclude name="Drupal.Commenting.InlineComment.DocBlock"/> <exclude name="Drupal.Commenting.InlineComment.InvalidEndChar"/> <exclude name="Drupal.Commenting.InlineComment.NotCapital"/> <exclude name="Drupal.Commenting.InlineComment.SpacingAfter"/> </rule> <rule ref="Drupal.Commenting.PostStatementComment"/> <rule ref="Drupal.ControlStructures.ElseIf"/> <rule ref="Drupal.ControlStructures.ControlSignature"/> <rule ref="Drupal.ControlStructures.InlineControlStructure"/> <rule ref="Drupal.Files.EndFileNewline"/> <rule ref="Drupal.Files.FileEncoding"/> <rule ref="Drupal.Files.TxtFileLineLength"/> <rule ref="Drupal.Formatting.MultiLineAssignment"/> <rule ref="Drupal.Formatting.MultipleStatementAlignment"/> <rule ref="Drupal.Formatting.SpaceInlineIf"/> <rule ref="Drupal.Formatting.SpaceUnaryOperator"/> <rule ref="Drupal.Functions.DiscouragedFunctions"/> <rule ref="Drupal.Functions.FunctionDeclaration"/> <rule ref="Drupal.InfoFiles.AutoAddedKeys"/> <rule ref="Drupal.InfoFiles.ClassFiles"/> <rule ref="Drupal.InfoFiles.DuplicateEntry"/> <rule ref="Drupal.InfoFiles.Required"/> <rule ref="Drupal.Methods.MethodDeclaration"> <!-- Silence method name underscore warning which is covered already in Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps. --> <exclude name="Drupal.Methods.MethodDeclaration.Underscore"/> </rule> <rule ref="Drupal.NamingConventions.ValidVariableName"> <!-- Sniff for: LowerStart --> <exclude name="Drupal.NamingConventions.ValidVariableName.LowerCamelName"/> </rule> <rule ref="Drupal.Scope.MethodScope"/> <rule ref="Drupal.Semantics.EmptyInstall"/> <rule ref="Drupal.Semantics.FunctionAlias"/> <rule ref="Drupal.Semantics.FunctionT"> <exclude name="Drupal.Semantics.FunctionT.NotLiteralString"/> </rule> <rule ref="Drupal.Semantics.FunctionWatchdog"/> <rule ref="Drupal.Semantics.InstallHooks"/> <rule ref="Drupal.Semantics.LStringTranslatable"/> <rule ref="Drupal.Semantics.PregSecurity"/> <rule ref="Drupal.Semantics.RemoteAddress"/> <rule ref="Drupal.Semantics.TInHookMenu"/> <rule ref="Drupal.Semantics.TInHookSchema"/> <rule ref="Drupal.Strings.UnnecessaryStringConcat"/> <rule ref="Drupal.WhiteSpace.CloseBracketSpacing"/> <rule ref="Drupal.WhiteSpace.Comma"/> <rule ref="Drupal.WhiteSpace.EmptyLines"/> <rule ref="Drupal.WhiteSpace.Namespace"/> <rule ref="Drupal.WhiteSpace.ObjectOperatorIndent"/> <rule ref="Drupal.WhiteSpace.ObjectOperatorSpacing"/> <rule ref="Drupal.WhiteSpace.OpenBracketSpacing"/> <rule ref="Drupal.WhiteSpace.OpenTagNewline"/> <rule ref="Drupal.WhiteSpace.ScopeClosingBrace"/> <rule ref="Drupal.WhiteSpace.ScopeIndent"/> <!-- Drupal Practice sniffs --> <rule ref="DrupalPractice.Commenting.ExpectedException"/> <rule ref="DrupalPractice.General.ExceptionT"/> <rule ref="DrupalPractice.InfoFiles.NamespacedDependency"/> <!-- Generic sniffs --> <rule ref="Generic.Arrays.DisallowLongArraySyntax"/> <rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/> <rule ref="Generic.Files.ByteOrderMark"/> <rule ref="Generic.Files.LineEndings"/> <rule ref="Generic.Formatting.DisallowMultipleStatements"/> <rule ref="Generic.Formatting.SpaceAfterCast"/> <rule ref="Generic.Functions.FunctionCallArgumentSpacing"/> <rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie"> <properties> <property name="checkClosures" value="true"/> </properties> </rule> <rule ref="Drupal.NamingConventions.ValidClassName"/> <rule ref="Drupal.NamingConventions.ValidGlobal"/> <rule ref="Generic.NamingConventions.ConstructorName"/> <rule ref="Generic.NamingConventions.UpperCaseConstantName"/> <rule ref="Generic.PHP.DeprecatedFunctions"/> <rule ref="Generic.PHP.DisallowShortOpenTag"/> <rule ref="Generic.PHP.LowerCaseKeyword"/> <rule ref="Generic.PHP.UpperCaseConstant"/> <rule ref="Generic.WhiteSpace.DisallowTabIndent"/> <!-- Internal sniffs --> <rule ref="Internal.NoCodeFound"> <!-- No PHP code in *.yml --> <exclude-pattern>*.yml</exclude-pattern> </rule> <!-- MySource sniffs --> <rule ref="MySource.Debug.DebugCode"/> <!-- PEAR sniffs --> <rule ref="PEAR.Files.IncludingFile"/> <!-- Disable some error messages that we do not want. --> <rule ref="PEAR.Files.IncludingFile.UseIncludeOnce"> <severity>0</severity> </rule> <rule ref="PEAR.Files.IncludingFile.UseInclude"> <severity>0</severity> </rule> <rule ref="PEAR.Files.IncludingFile.UseRequireOnce"> <severity>0</severity> </rule> <rule ref="PEAR.Files.IncludingFile.UseRequire"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.ValidDefaultValue"/> <!-- PEAR sniffs --> <rule ref="PEAR.Functions.FunctionCallSignature"/> <!-- The sniffs inside PEAR.Functions.FunctionCallSignature silenced below are also silenced in Drupal CS' ruleset.xml. The code below is a 1-on-1 copy from that file. --> <!-- Disable some error messages that we already cover. --> <rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket"> <severity>0</severity> </rule> <!-- Disable some error messages that we do not want. --> <rule ref="PEAR.Functions.FunctionCallSignature.Indent"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.OpeningIndent"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine"> <severity>0</severity> </rule> <rule ref="PEAR.Functions.FunctionCallSignature.EmptyLine"> <severity>0</severity> </rule> <!-- PSR-2 sniffs --> <rule ref="PSR2.Classes.PropertyDeclaration"> <!-- Silence method name underscore warning which is covered already in Drupal.Classes.PropertyDeclaration. --> <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> </rule> <rule ref="PSR2.Namespaces.NamespaceDeclaration"/> <rule ref="PSR2.Namespaces.UseDeclaration"/> <!-- Squiz sniffs --> <rule ref="Squiz.Arrays.ArrayBracketSpacing"/> <rule ref="Squiz.Arrays.ArrayDeclaration"> <exclude name="Squiz.Arrays.ArrayDeclaration.NoKeySpecified"/> <exclude name="Squiz.Arrays.ArrayDeclaration.KeySpecified"/> </rule> <!-- Disable some error messages that we do not want. --> <rule ref="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.FirstValueNoNewline"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.KeyNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.NoComma"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.NoCommaAfterLast"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.NotLowerCase"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.ValueNotAligned"> <severity>0</severity> </rule> <rule ref="Squiz.Arrays.ArrayDeclaration.ValueNoNewline"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration"/> <!-- Disable some error messages that we already cover. --> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForLoopDeclaration"/> <!-- Disable some error messages that we already cover. --> <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration"/> <!-- Disable some error messages that we do not want. --> <rule ref="Squiz.ControlStructures.SwitchDeclaration.BreakIndent"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.CaseIndent"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.CloseBraceAlign"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultIndent"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultNoBreak"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.EmptyCase"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.EmptyDefault"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.MissingDefault"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterCase"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak"> <severity>0</severity> </rule> <rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingBeforeBreak"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration"/> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace"> <severity>0</severity> </rule> <!-- Standard yet to be finalized on this (https://www.drupal.org/node/1539712). --> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.FirstParamSpacing"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.Indent"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine"> <severity>0</severity> </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing"> <properties> <property name="equalsSpacing" value="1"/> </properties> </rule> <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg"> <severity>0</severity> </rule> <rule ref="Squiz.PHP.LowercasePHPFunctions"/> <rule ref="Squiz.PHP.NonExecutableCode"/> <rule ref="Squiz.Strings.ConcatenationSpacing"> <properties> <property name="spacing" value="1"/> <property name="ignoreNewlines" value="true"/> </properties> </rule> <rule ref="Squiz.WhiteSpace.FunctionSpacing"> <properties> <property name="spacing" value="1"/> </properties> </rule> <rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/> <rule ref="Squiz.WhiteSpace.OperatorSpacing"> <properties> <property name="ignoreNewlines" value="true"/> </properties> </rule> <rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/> <rule ref="Squiz.WhiteSpace.SemicolonSpacing"/> <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"/> <!-- Zend sniffs --> <rule ref="Zend.Files.ClosingTag"/> </ruleset>
.stylelintignore 0 → 100644 +13 −0 Original line number Diff line number Diff line node_modules/**/*.css scss/**/*.scss **/*.min.css" scss/* js/* tests/* config/**/*.yml *.yml .* *.png *.svg *.ico *.json