-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- D8CORE-2129: initial commit for the SOE image CTA styling (#7) (fe206ed) - D8CORE-2130: styles for the cta list (#8) (3370c09) - D8CORE-2338: typography tweaks for soe (#9) (0ed2b2f)
- Loading branch information
Showing
174 changed files
with
55,628 additions
and
1 deletion.
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,2 @@ | ||
last 2 versions | ||
ie 11 |
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,125 @@ | ||
version: "2" | ||
checks: | ||
argument-count: | ||
enabled: false | ||
method-complexity: | ||
config: | ||
threshold: 10 | ||
method-lines: | ||
config: | ||
threshold: 40 | ||
method-count: | ||
config: | ||
threshold: 25 | ||
|
||
plugins: | ||
# https://docs.codeclimate.com/docs/eslint | ||
# ES Linting requires an .eslintrc file to tweak checks. | ||
eslint: | ||
enabled: true | ||
markdownlint: | ||
enabled: false | ||
# CSS is generated and shouldn't be linted. | ||
csslint: | ||
enabled: false | ||
# We don't lint our coffee. Eew. | ||
coffeelint: | ||
enabled: false | ||
# SASS Lint requires a .sass-lint.yml file in the repo in order to tweak settings. | ||
# Withouth the .sass-lint.yml file it will run with the defaults. | ||
# Defaults file: https://github.com/sasstools/sass-lint/blob/master/lib/config/sass-lint.yml | ||
sass-lint: | ||
enabled: true | ||
# SCSS Lint requires a .scss-lint.yml file in the repo in order to tweak settings. | ||
# Withouth the .scss-lint.yml file it will run with the defaults. | ||
# Defaults file: https://github.com/brigade/scss-lint/blob/master/config/default.yml | ||
scss-lint: | ||
enabled: false | ||
phpcodesniffer: | ||
enabled: true | ||
checks: | ||
Drupal Commenting FunctionComment TypeHintMissing: | ||
enabled: true | ||
Drupal Commenting FunctionComment IncorrectTypeHint: | ||
enabled: true | ||
DrupalPractice Commenting CommentEmptyLine SpacingAfter: | ||
enabled: true | ||
Drupal NamingConventions ValidFunctionName ScopeNotCamelCaps: | ||
enabled: true | ||
Drupal NamingConventions ValidClassName StartWithCaptial: | ||
enabled: false | ||
Drupal NamingConventions ValidFunctionName NotCamelCaps: | ||
enabled: false | ||
DrupalPractice General ClassName ClassPrefix: | ||
enabled: false | ||
Drupal NamingConventions ValidClassName NoUnderscores: | ||
enabled: true | ||
config: | ||
file_extensions: "php,inc,install,module,profile" | ||
standard: "Drupal,DrupalPractice" | ||
phpmd: | ||
enabled: true | ||
checks: | ||
Design/WeightedMethodCount: | ||
enabled: false | ||
CleanCode/StaticAccess: | ||
enabled: false | ||
CleanCode/ElseExpression: | ||
enabled: false | ||
CleanCode/BooleanArgumentFlag: | ||
enabled: false | ||
UnusedFormalParameter: | ||
enabled: false | ||
Naming/ShortVariable: | ||
enabled: false | ||
config: | ||
# https://phpmd.org/rules/index.html | ||
# The following sets include everything except the controversial set. | ||
# We can configure these further through .xml files. See docs. | ||
rulesets: "cleancode,codesize,design,naming,unusedcode" | ||
# Include special Drupal file extensions. | ||
file_extensions: "inc,module,profile,php,install" | ||
# https://docs.codeclimate.com/docs/phan | ||
phan: | ||
enabled: true | ||
config: | ||
file_extensions: "php,module,profile,inc" | ||
# minimum-severity: 1 | ||
ignore-undeclared: true | ||
# quick: true | ||
# backward-compatiility-checks: true | ||
# dead-code-detection: true | ||
# https://docs.codeclimate.com/docs/duplication | ||
duplication: | ||
enabled: true | ||
# exclude_paths: | ||
# - examples/ | ||
config: | ||
languages: | ||
javascript: | ||
mass_threshold: 50 | ||
# count_threshold: 3 | ||
fixme: | ||
enabled: true | ||
config: | ||
strings: | ||
- FIXME | ||
- BUG | ||
- TODO | ||
- todo | ||
- dpm | ||
- dsm | ||
# exclude these files/paths | ||
exclude_patterns: | ||
- "test" | ||
- "tests" | ||
- "**/tests/**/*" | ||
- "vendor" | ||
- "vendors" | ||
- "node_modules" | ||
- "composer.json" | ||
- "package.json" | ||
- "webpack.config.js" | ||
- "**.min.*" | ||
- "spec/" | ||
- "dist/" |
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,112 @@ | ||
{ | ||
extends: "eslint:recommended", | ||
env: { | ||
browser: true, | ||
es6: true, | ||
node: true | ||
}, | ||
globals: { | ||
domready: true | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: "module", | ||
ecmaFeatures: { | ||
arrowFunctions: true, | ||
blockBindings: true, | ||
classes: true, | ||
defaultParameters: true, | ||
destructuring: true, | ||
forOf: true, | ||
generators: true, | ||
objectLiteralComputedProperties: true, | ||
objectLiteralDuplicateProperties: true, | ||
objectLiteralShorthandMethods: true, | ||
objectLiteralShorthandProperties: true, | ||
regexUFlag: true, | ||
regexYFlag: true, | ||
restParams: true, | ||
spread: true, | ||
superInFunctions: true, | ||
templateStrings: true, | ||
unicodeCodePointEscapes: true, | ||
globalReturn: true | ||
} | ||
}, | ||
rules: { | ||
max-len: [2, 120, 2, {"ignoreUrls": true}], | ||
array-bracket-spacing: [2, "never"], | ||
block-scoped-var: 2, | ||
brace-style: [2, "stroustrup", {"allowSingleLine": true}], | ||
comma-dangle: [2, "never"], | ||
comma-spacing: 2, | ||
comma-style: [2, "last"], | ||
computed-property-spacing: [2, "never"], | ||
curly: [2, "all"], | ||
eol-last: 2, | ||
eqeqeq: [2, "smart"], | ||
guard-for-in: 2, | ||
indent: [2, 2, {"SwitchCase": 1}], | ||
key-spacing: [2, {"beforeColon": false, "afterColon": true}], | ||
keyword-spacing: [2, {"before": true, "after": true}], | ||
linebreak-style: [2, "unix"], | ||
lines-around-comment: [2, {"beforeBlockComment": true, "afterBlockComment": false}], | ||
new-parens: 2, | ||
no-array-constructor: 2, | ||
no-caller: 2, | ||
no-catch-shadow: 2, | ||
no-eval: 2, | ||
no-extend-native: 2, | ||
no-extra-bind: 2, | ||
no-extra-parens: [2, "functions"], | ||
no-implied-eval: 2, | ||
no-iterator: 2, | ||
no-label-var: 2, | ||
no-labels: 2, | ||
no-lone-blocks: 2, | ||
no-loop-func: 2, | ||
no-multi-spaces: 2, | ||
no-multi-str: 2, | ||
no-native-reassign: 2, | ||
no-nested-ternary: 2, | ||
no-new-func: 2, | ||
no-new-object: 2, | ||
no-new-wrappers: 2, | ||
no-octal-escape: 2, | ||
no-process-exit: 2, | ||
no-proto: 2, | ||
no-return-assign: 2, | ||
no-script-url: 2, | ||
no-sequences: 2, | ||
no-shadow-restricted-names: 2, | ||
no-spaced-func: 2, | ||
no-trailing-spaces: 2, | ||
no-undef-init: 2, | ||
no-undefined: 2, | ||
no-unused-expressions: 2, | ||
no-unused-vars: [2, {"vars": "all", "args": "none"}], | ||
no-with: 2, | ||
object-curly-spacing: [2, "never"], | ||
one-var: [2, "never"], | ||
quote-props: [2, "consistent-as-needed"], | ||
quotes: [2, "single", "avoid-escape"], | ||
semi: [2, "always"], | ||
semi-spacing: [2, {"before": false, "after": true}], | ||
space-before-blocks: [2, "always"], | ||
space-before-function-paren: [2, {"anonymous": "always", "named": "never"}], | ||
space-in-parens: [2, "never"], | ||
space-infix-ops: 2, | ||
space-unary-ops: [2, { "words": true, "nonwords": false }], | ||
spaced-comment: [2, "always"], | ||
strict: [2, "function"], | ||
yoda: [2, "never"], | ||
max-nested-callbacks: [1, 3], | ||
valid-jsdoc: [1, { | ||
prefer: { | ||
returns: "return", | ||
property: "prop" | ||
}, | ||
requireReturn: false | ||
}] | ||
} | ||
} |
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,8 @@ | ||
*.scssc | ||
*.sassc | ||
.sass-cache | ||
*.map | ||
node_modules | ||
.DS_Store | ||
*.log | ||
*.sql |
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 @@ | ||
11.14.0 |
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,62 @@ | ||
# Documentation on the rules: | ||
# https://github.com/sasstools/sass-lint/tree/master/docs/rules | ||
# | ||
files: | ||
ignore: | ||
- vendor/**/*.scss | ||
- node_modules/**/*.scss | ||
include: "**/*.s+(a|c)ss" | ||
rules: | ||
brace-style: | ||
- 1 | ||
- | ||
style: stroustrup | ||
class-name-format: | ||
- 1 | ||
- | ||
convention: hyphenatedbem | ||
empty-line-between-blocks: 1 | ||
extends-before-declarations: 1 | ||
extends-before-mixins: 1 | ||
final-newline: 1 | ||
force-attribute-nesting: 0 | ||
force-pseudo-nesting: 0 | ||
function-name-format: | ||
- 1 | ||
- | ||
convention: hyphenatedlowercase | ||
hex-length: 0 | ||
leading-zero: | ||
- 1 | ||
- include: true | ||
mixins-before-declarations: 0 | ||
name-format: 0 | ||
nesting-depth: | ||
- 1 | ||
- | ||
max-depth: 4 | ||
no-color-literals: 0 | ||
no-css-comments: 0 | ||
no-empty-rulesets: 1 | ||
no-ids: 1 | ||
no-mergeable-selectors: 0 | ||
no-misspelled-properties: 1 | ||
no-vendor-prefixes: 0 | ||
no-url-domains: 0 | ||
no-warn: 0 | ||
no-qualifying-elements: | ||
- 1 | ||
- | ||
allow-element-with-attribute: 1 | ||
one-declaration-per-line: 1 | ||
placeholder-in-extend: 1 | ||
property-sort-order: 0 | ||
quotes: 0 | ||
shorthand-values: 0 | ||
single-line-per-selector: 1 | ||
space-after-colon: 1 | ||
space-after-comma: 1 | ||
space-before-brace: 1 | ||
space-before-colon: 1 | ||
space-between-parens: 1 | ||
trailing-semicolon: 1 |
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,16 @@ | ||
# SOE Basic Sub-Theme | ||
|
||
8.1.0-alpha.2 | ||
-------------------------------------------------------------------------------- | ||
_Release Date: 2020-07-13_ | ||
|
||
- D8CORE-2129: initial commit for the SOE image CTA styling (#7) (fe206ed) | ||
- D8CORE-2130: styles for the cta list (#8) (3370c09) | ||
- D8CORE-2338: typography tweaks for soe (#9) (0ed2b2f) | ||
|
||
|
||
8.x-1.0-alpha1 | ||
-------------------------------------------------------------------------------- | ||
_Release Date: 2020-06-18_ | ||
|
||
- Initial alpha release with scaffolded settings and not much more. |
Oops, something went wrong.