-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Base Rules
- Loading branch information
Showing
36 changed files
with
3,040 additions
and
6 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,31 @@ | ||
# Copyright (c) 2018-present Arctic Ice Studio <[email protected]> | ||
# Copyright (c) 2018-present Sven Greb <[email protected]> | ||
|
||
# Project: Styleguide Markdown | ||
# Repository: https://github.com/arcticicestudio/styleguide-markdown | ||
# License: MIT | ||
# References: | ||
# https://circleci.com/docs/2.0 | ||
# https://circleci.com/docs/2.0/circleci-images/#nodejs | ||
|
||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:latest | ||
steps: | ||
- checkout | ||
- run: | ||
name: preprocess-clean-node-modules | ||
command: rm -rf node_modules | ||
- run: | ||
name: preprocess-npm-install | ||
command: npm install | ||
- run: | ||
name: lint | ||
command: npm run lint | ||
- run: | ||
name: build-docs | ||
command: npm run docs:build | ||
- store_artifacts: | ||
path: build/docs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# +---------+ | ||
# + Node.js + | ||
# +---------+ | ||
src/node_modules/* | ||
node_modules/* |
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,17 @@ | ||
/* | ||
* Copyright (c) 2018-present Arctic Ice Studio <[email protected]> | ||
* Copyright (c) 2018-present Sven Greb <[email protected]> | ||
* | ||
* Project: Arctic Ice Studio remark-lint Preset | ||
* Repository: https://github.com/arcticicestudio/remark-preset-lint-arcticicestudio | ||
* License: MIT | ||
*/ | ||
|
||
/** | ||
* @file The remark-lint configuration. | ||
* @author Arctic Ice Studio <[email protected]> | ||
*/ | ||
|
||
module.exports = { | ||
plugins: ["remark-preset-lint-arcticicestudio"] | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<p align="center"><img src="https://rawgit.com/arcticicestudio/styleguide-markdown/develop/assets/styleguide-markdown-banner-typography.svg"/></p> | ||
|
||
<p align="center"><img src="https://assets-cdn.github.com/favicon.ico" width=24 height=24/> <a href="https://github.com/arcticicestudio/styleguide-markdown/releases/latest"><img src="https://img.shields.io/github/release/arcticicestudio/styleguide-markdown.svg?style=flat-square"/></a></p> | ||
|
||
<p align="center"><img src="https://www.npmjs.com/static/images/touch-icons/favicon-32x32.png" width=24 height=24/> <a href="https://www.npmjs.com/package/remark-preset-lint-arcticicestudio"><img src="https://img.shields.io/npm/v/remark-preset-lint-arcticicestudio.svg?style=flat-square&label=remark-preset-lint-arcticicestudio"/></a></p> | ||
|
||
<p align="center"><a href="https://github.com/arcticicestudio/styleguide-markdown/blob/develop/CHANGELOG.md"><img src="https://img.shields.io/badge/Changelog----5E81AC.svg?style=flat-square"/></a></p> | ||
|
||
<p align="center"><img src="https://circleci.com/favicon.ico" width=24 height=24/> <a href="https://circleci.com/gh/arcticicestudio/styleguide-markdown"><img src="https://img.shields.io/circleci/project/github/arcticicestudio/styleguide-markdown/develop.svg?style=flat-square"/></a></p> | ||
|
||
<p align="center">The Arctic Ice Studio Markdown Code Style.</p> | ||
|
||
--- | ||
|
||
<p align="center"><img src="https://cdn.rawgit.com/arcticicestudio/styleguide-markdown/develop/assets/styleguide-markdown-banner-typography-badge.svg" width="40%" /></p> | ||
|
||
Every major open source project has its own style guide, a set of standards and conventions for the writing and design of code, documentations and assets. It is much easier to understand a large codebase when all the code in it is in a consistent style. | ||
|
||
A style guide establishes and enforces style to improve the intelligibility and communication within the project community. It ensures consistency and enforces best practice in usage and language composition. | ||
|
||
### Getting Started | ||
|
||
This style guide provides the [comprehensive base rule set][rules] with support for [GitHub Flavored Markdown][gfm] which is based on the [CommonMark][commonmark] specification. It includes rules for all document elements like e.g. [code blocks][rules-code-blocks], [headings][rules-headings] or [lists][rules-lists], defines [naming conventions][rules-naming-conventions] and best practices for [whitespaces][rules-whitespaces], [Raw HTML][rules-raw-html], [emphasizing][rules-emphasis] and [strings][rules-strings]. | ||
|
||
The development chapters contain information about the [requirements][dev-requirements] and [how to build][dev-building] this style guide documentation. | ||
|
||
To make sure your code matches this style guide use the official [remark-preset-lint-arcticicestudio][remark-preset-lint-arcticicestudio-ghio] code linter preset for [remark-lint][remark-lint-gh], a plugin for [remark][]. | ||
|
||
### Contributing | ||
|
||
Read the [contributing guide][dev-contributing] to learn about the development process and how to propose [enhancement suggestions][dev-contributing-enhancements] and [report bugs][dev-contributing-bug-reports], how to [submit pull requests][dev-contributing-pr] and the project's [styleguides][dev-contributing-styleguides], [branch organization][dev-contributing-branch-org] and [versioning][dev-contributing-versioning] model. | ||
|
||
The guide also includes information about [minimal, complete, and verifiable examples][dev-contributing-mcve] and other ways to contribute to the project like [improving existing issues][dev-contributing-other-improve-issues] and [giving feedback on issues and pull requests][dev-contributing-other-feedback]. | ||
|
||
<p align="center"><img src="https://cdn.rawgit.com/arcticicestudio/nord/develop/assets/banner-footer-mountains.svg" /></p> | ||
|
||
<p align="center">Copyright © 2018-present Arctic Ice Studio & Sven Greb</p> | ||
|
||
<p align="center"><a href="https://github.com/arcticicestudio/styleguide-markdown/blob/develop/LICENSE.md"><img src="https://img.shields.io/badge/License-MIT-5E81AC.svg?style=flat-square"/></a></p> | ||
|
||
[dev-building]: development/building.md | ||
[dev-contributing]: development/contributing.md | ||
[dev-contributing-branch-org]: development/contributing.md#branch-organization | ||
[dev-contributing-bug-reports]: development/contributing.md#bug-reports | ||
[dev-contributing-enhancements]: development/contributing.md#enhancement-suggestions | ||
[dev-contributing-mcve]: development/contributing.md#mcve | ||
[dev-contributing-other-feedback]: development/contributing.md#give-feedback-on-issues-and-pull-requests | ||
[dev-contributing-other-improve-issues]: development/contributing.md#improve-issues | ||
[dev-contributing-pr]: development/contributing.md#pull-requests | ||
[dev-contributing-styleguides]: development/contributing.md#styleguides | ||
[dev-contributing-versioning]: development/contributing.md#versioning | ||
[dev-requirements]: development/requirements.md | ||
[rules]: rules/index.md | ||
[rules-code-blocks]: rules/code.md#blocks | ||
[rules-emphasis]: rules/emphasis.md | ||
[rules-headings]: rules/headings.md | ||
[rules-lists]: rules/lists.md | ||
[rules-naming-conventions]: rules/naming-conventions.md | ||
[rules-raw-html]: rules/raw-html.md | ||
[rules-strings]: rules/strings.md | ||
[rules-whitespaces]: rules/whitespaces.md | ||
|
||
[commonmark]: http://commonmark.org | ||
[gfm]: https://github.github.com/gfm | ||
[remark]: https://remark.js.org | ||
[remark-lint-gh]: https://github.com/remarkjs/remark-lint | ||
[remark-preset-lint-arcticicestudio-ghio]: https://arcticicestudio.github.io/remark-preset-lint-arcticicestudio |
Oops, something went wrong.