Skip to content

Commit

Permalink
feat(NavMenu): introduce NavMenu Interface/Trait
Browse files Browse the repository at this point in the history
Closes #11
  • Loading branch information
whizark committed Jan 5, 2016
1 parent 8b05860 commit 38df778
Show file tree
Hide file tree
Showing 16 changed files with 646 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"devaloka/post-type": "self.version",
"devaloka/taxonomy" : "self.version",
"devaloka/sidebar" : "self.version",
"devaloka/widget" : "self.version"
"devaloka/widget" : "self.version",
"devaloka/nav-menu" : "self.version"
},
"autoload-dev" : {
"psr-4": {
Expand Down
12 changes: 12 additions & 0 deletions src/Component/NavMenu/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
12 changes: 12 additions & 0 deletions src/Component/NavMenu/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
* text=auto

.gitattributes export-ignore
.gitignore export-ignore
.mailmap export-ignore
.editorconfig export-ignore
package.json export-ignore
npm-shrinkwrap.json export-ignore
.remarkrc export-ignore
composer.json export-ignore
phpcs.xml export-ignore
.travis.yml export-ignore
4 changes: 4 additions & 0 deletions src/Component/NavMenu/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/
npm-debug.log
/composer.lock
/vendor/
Empty file removed src/Component/NavMenu/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions src/Component/NavMenu/.mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Whizark <devaloka@whizark.com>
74 changes: 74 additions & 0 deletions src/Component/NavMenu/.remarkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"output" : false,
"settings": {
"breaks" : false,
"commonmark": false,
"footnotes" : false,
"gfm" : true,
"pedantic" : false,
"position" : true,
"yaml" : false
},
"plugins" : {
"remark-lint": {
"externals" : [],
"reset" : false,
"blockquote-indentation" : "consistent",
"checkbox-character-style" : "consistent",
"checkbox-content-indent" : true,
"code-block-style" : "consistent",
"definition-case" : true,
"definition-spacing" : true,
"emphasis-marker" : "consistent",
"fenced-code-flag" : {
"allowEmpty": false
},
"fenced-code-marker" : "consistent",
"file-extension" : "md",
"final-definition" : true,
"final-newline" : true,
"first-heading-level" : 1,
"hard-break-spaces" : true,
"heading-increment" : true,
"heading-style" : "consistent",
"link-title-style" : "consistent",
"list-item-bullet-indent" : true,
"list-item-content-indent" : true,
"list-item-indent" : "tab-size",
"list-item-spacing" : true,
"maximum-heading-length" : 60,
"maximum-line-length" : 80,
"no-auto-link-without-protocol" : true,
"no-blockquote-without-caret" : true,
"no-consecutive-blank-lines" : true,
"no-duplicate-definitions" : true,
"no-duplicate-headings" : true,
"no-emphasis-as-heading" : true,
"no-file-name-articles" : true,
"no-file-name-consecutive-dashes" : true,
"no-file-name-irregular-characters": true,
"no-file-name-mixed-case" : true,
"no-file-name-outer-dashes" : true,
"no-heading-content-indent" : true,
"no-heading-indent" : true,
"no-heading-punctuation" : "\\.,;:!?",
"no-html" : true,
"no-inline-padding" : true,
"no-literal-urls" : true,
"no-missing-blank-lines" : true,
"no-multiple-toplevel-headings" : true,
"no-shell-dollars" : true,
"no-shortcut-reference-link" : true,
"no-table-indentation" : true,
"no-tabs" : true,
"ordered-list-marker-style" : "consistent",
"ordered-list-marker-value" : "ordered",
"rule-style" : "consistent",
"strong-marker" : "consistent",
"table-cell-padding" : "consistent",
"table-pipe-alignment" : true,
"table-pipes" : true,
"unordered-list-marker-style" : "consistent"
}
}
}
37 changes: 37 additions & 0 deletions src/Component/NavMenu/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
sudo: false

language: php

php:
- '5.5'
- '5.6'
- '7.0'
- hhvm

matrix:
fast_finish: true
allow_failures:
- php: hhvm

cache:
directories:
- node_modules
- $HOME/.composer/cache/files

before_install:
- npm config set spin false
- npm install -g npm
- composer self-update

install:
- npm install
- composer install --prefer-source

script:
- npm run-script lint-travis
- composer test-travis

notifications:
email:
on_success: never
on_failure: change

0 comments on commit 38df778

Please sign in to comment.