Skip to content

Commit 1b6feaf

Browse files
Merge branch 'release/0.9.0'
2 parents f15ec3b + a422e33 commit 1b6feaf

24 files changed

Lines changed: 521 additions & 21 deletions

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# ++++++++++++++++++++++
2+
# + Base Configuration +
3+
# ++++++++++++++++++++++
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 160
11+
trim_trailing_whitespace = true
12+
13+
# +++++++++++++
14+
# + Languages +
15+
# +++++++++++++
16+
# +++ Markdown +++
17+
[*.{md,gfm}]
18+
trim_trailing_whitespace = false

.eslintrc.js

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*
2+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3+
title ESLint Configuration +
4+
project nord-atom-syntax +
5+
repository https://github.com/arcticicestudio/nord-atom-syntax +
6+
author Arctic Ice Studio +
7+
email development@arcticicestudio.com +
8+
copyright Copyright (C) 2017 +
9+
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10+
11+
[References]
12+
ESLint
13+
http://eslint.org/docs/rules
14+
http://eslint.org/docs/user-guide/configuring
15+
http://eslint.org/docs/user-guide/configuring#using-configuration-files
16+
http://eslint.org/docs/user-guide/configuring#specifying-environments
17+
http://eslint.org/docs/user-guide/configuring.html#specifying-globals
18+
*/
19+
module.exports = {
20+
"env": {
21+
"node": true,
22+
"es6": true,
23+
"browser": true,
24+
"jasmine": true,
25+
"atomtest": true
26+
},
27+
"parserOptions": {
28+
"sourceType": "module",
29+
"ecmaVersion": 6,
30+
"ecmaFeatures": {}
31+
},
32+
"plugins": [],
33+
"extends": [
34+
"eslint:recommended"
35+
],
36+
"globals": {
37+
"atom": true
38+
},
39+
"rules": {
40+
// Style Guide
41+
"array-bracket-spacing": ["error", "never"],
42+
"comma-dangle": ["error", "never"],
43+
"curly":["error", "all"],
44+
"func-call-spacing": ["error", "never"],
45+
"indent": ["error", 2],
46+
"linebreak-style": ["error", "unix"],
47+
"no-duplicate-imports": "error",
48+
"no-tabs": "error",
49+
"no-var": "error",
50+
"quotes": ["error", "double"],
51+
"semi": ["error", "always"],
52+
// Error Prevention
53+
"no-cond-assign": ["error", "always"],
54+
"no-console": "off",
55+
// Code Performance
56+
"global-require": "warn",
57+
// Documentation
58+
"require-jsdoc": ["warn", {
59+
"require": {
60+
"FunctionDeclaration": true,
61+
"MethodDefinition": false,
62+
"ClassDeclaration": true,
63+
"ArrowFunctionExpression": false
64+
}
65+
}],
66+
"valid-jsdoc": ["error", {
67+
"prefer": {
68+
"arg": "param",
69+
"argument": "param",
70+
"class": "constructor",
71+
"virtual": "abstract"
72+
},
73+
"requireParamDescription": true,
74+
"requireReturnDescription": true
75+
}]
76+
}
77+
}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,10 @@
33
# +---------+
44
node_modules
55
npm-debug.log
6+
.npm/
7+
*.log
8+
# Runtime data
9+
pids
10+
*.pid
11+
*.seed
12+
*.pid.lock

.stylelintrc.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3+
title stylelint Configuration +
4+
project nord-atom-syntax +
5+
repository https://github.com/arcticicestudio/nord-atom-syntax +
6+
author Arctic Ice Studio +
7+
email development@arcticicestudio.com +
8+
copyright Copyright (C) 2017 +
9+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10+
11+
[References]
12+
stylelint
13+
https://stylelint.io
14+
https://stylelint.io/user-guide/rules
15+
https://github.com/stylelint/stylelint-config-standard
16+
*/
17+
module.exports = {
18+
"extends": "stylelint-config-standard",
19+
"rules": {
20+
"color-hex-case": "upper",
21+
"comment-empty-line-before": null,
22+
"selector-type-no-unknown": [true, {
23+
"ignoreTypes": ["/^atom-/"]
24+
}],
25+
"selector-pseudo-element-colon-notation": "single"
26+
}
27+
}

.tern-project

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"ecmaVersion": 6,
3+
"libs": [
4+
"browser"
5+
],
6+
"loadEagerly": [],
7+
"dontLoad": [
8+
"node_module/**"
9+
],
10+
"plugins": {
11+
"doc_comment": true,
12+
"complete_strings": {
13+
"maxLength": 30
14+
},
15+
"node": {
16+
"dontLoad": "",
17+
"load": "",
18+
"modules": ""
19+
},
20+
"node_resolve": {},
21+
"modules": {
22+
"dontLoad": "",
23+
"load": "",
24+
"modules": ""
25+
},
26+
"es_modules": {},
27+
"requirejs": {
28+
"baseURL": "",
29+
"paths": "",
30+
"override": ""
31+
}
32+
}
33+
}

.travis.yml

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,51 @@
88
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
99
#
1010
# [References]
11-
# Travis CI Documentation
12-
# (https://docs.travis-ci.com)
13-
language: objective-c
11+
# Travis CI
12+
# https://docs.travis-ci.com
13+
# Atom CI
14+
# https://github.com/atom/ci
15+
language: generic
16+
dist: trusty
17+
sudo: false
18+
node_js:
19+
- "6.9.5"
20+
env:
21+
global:
22+
- APM_TEST_PACKAGES=""
23+
- ATOM_LINT_WITH_BUNDLED_NODE="true"
24+
- LINUX_NVM_NODE_VERSION=6.9.5
25+
matrix:
26+
- ATOM_CHANNEL=stable
27+
- ATOM_CHANNEL=beta
28+
os:
29+
- linux
30+
- osx
31+
addons:
32+
apt:
33+
packages:
34+
- build-essential
35+
- git
36+
- libgnome-keyring-dev
37+
- fakeroot
1438
notifications:
1539
email:
1640
on_success: never
1741
on_failure: change
18-
script: 'curl -s https://raw.githubusercontent.com/atom/ci/master/build-package.sh | sh'
42+
before_install:
43+
- rm -rf ./node_modules
44+
install:
45+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
46+
nvm install $LINUX_NVM_NODE_VERSION;
47+
nvm use $LINUX_NVM_NODE_VERSION;
48+
fi
49+
before_script:
50+
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
51+
- chmod u+x build-package.sh
52+
- npm install -g gulp-cli
53+
- npm install gulp
54+
- npm install
55+
- gulp --harmony lint
56+
- nvm deactivate
57+
script:
58+
- ./build-package.sh

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
11
<p align="center"><img src="https://cdn.rawgit.com/arcticicestudio/nord-atom-syntax/develop/assets/nord-atom-syntax-banner.svg"/></p>
22

3-
<p align="center"><img src="https://assets-cdn.github.com/favicon.ico" width=24 height=24/> <a href="https://github.com/arcticicestudio/nord-atom-syntax/releases/latest"><img src="https://img.shields.io/github/release/arcticicestudio/nord-atom-syntax.svg"/></a> <a href="https://github.com/arcticicestudio/nord/releases/tag/v0.2.0"><img src="https://img.shields.io/badge/Nord-v0.2.0-blue.svg"/></a> <img src="https://atom.io/favicon.ico" width=24 height=24/> <a href="https://github.com/atom/atom/releases/tag/v1.13.0"><img src="https://img.shields.io/badge/Atom->=v1.13.0-green.svg"/></a> <a href="https://atom.io/themes/nord-atom-syntax"><img src="https://img.shields.io/apm/v/nord-atom-syntax.svg"/></a> <a href="https://atom.io/themes/nord-atom-syntax"><img src="https://img.shields.io/apm/dm/nord-atom-syntax.svg"/></a></p>
3+
<p align="center"><img src="https://assets-cdn.github.com/favicon.ico" width=24 height=24/> <a href="https://github.com/arcticicestudio/nord-atom-syntax/releases/latest"><img src="https://img.shields.io/github/release/arcticicestudio/nord-atom-syntax.svg"/></a> <a href="https://github.com/arcticicestudio/nord/releases/tag/v0.2.0"><img src="https://img.shields.io/badge/Nord-v0.2.0-88C0D0.svg"/></a> <img src="https://atom.io/favicon.ico" width=24 height=24/> <a href="https://github.com/atom/atom/releases/tag/v1.13.0"><img src="https://img.shields.io/badge/Atom->=v1.13.0-green.svg"/></a> <a href="https://atom.io/themes/nord-atom-syntax"><img src="https://img.shields.io/apm/v/nord-atom-syntax.svg"/></a> <a href="https://atom.io/themes/nord-atom-syntax"><img src="https://img.shields.io/apm/dm/nord-atom-syntax.svg"/></a></p>
44

55
---
66

7+
# 0.9.0
8+
*2017-04-14*
9+
## Features
10+
### Theme Settings
11+
❯ Implemented a *Accessibility* theme setting to increase the contrast for comments by percentage.
12+
The default value is `0` which uses the default Nord color assignment while the maximum value is `20`. (@ascarter, #46 PR #47, 935c2ae9)
13+
14+
<p align="center"><strong>Default Settings</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/24830105/80a66cb0-1c7f-11e7-8daa-d6db62b87150.png"/><br><img src="https://cloud.githubusercontent.com/assets/7836623/24879698/fc288440-1e37-11e7-933d-f2467025417d.png"/></p>
15+
16+
<p align="center"><strong>Increased comment contrast value of <code>15</code> (%)</strong><br><img src="https://cloud.githubusercontent.com/assets/7836623/24830273/c9584dae-1c82-11e7-8868-9658993e7173.png"/><br><img src="https://cloud.githubusercontent.com/assets/7836623/24830274/cfb389ca-1c82-11e7-8b3a-d63bfeea4a48.png"/></p>
17+
18+
<p align="center"><img src="https://cloud.githubusercontent.com/assets/7836623/25037295/a8a4379c-20f8-11e7-8119-d8517cb6b76d.gif"/></p>
19+
720
# 0.8.0
821
*2017-04-12*
922
## Features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Detailed descriptions for supported languages can be found in the [project wiki]
4949
![][scrot-lang-xml]
5050

5151
## Development
52-
[![](https://img.shields.io/badge/Changelog-0.8.0-81A1C1.svg)](https://github.com/arcticicestudio/nord-atom-syntax/blob/v0.8.0/CHANGELOG.md) [![](https://img.shields.io/badge/Workflow-gitflow--branching--model-81A1C1.svg)](http://nvie.com/posts/a-successful-git-branching-model) [![](https://img.shields.io/badge/Versioning-ArcVer_0.8.0-81A1C1.svg)](https://github.com/arcticicestudio/arcver)
52+
[![](https://img.shields.io/badge/Changelog-0.9.0-81A1C1.svg)](https://github.com/arcticicestudio/nord-atom-syntax/blob/v0.9.0/CHANGELOG.md) [![](https://img.shields.io/badge/Workflow-gitflow--branching--model-81A1C1.svg)](http://nvie.com/posts/a-successful-git-branching-model) [![](https://img.shields.io/badge/Versioning-ArcVer_0.8.0-81A1C1.svg)](https://github.com/arcticicestudio/arcver)
5353

5454
### Contribution
5555
Please report issues/bugs, feature requests and suggestions for improvements to the [issue tracker](https://github.com/arcticicestudio/nord-atom-syntax/issues).

circle.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,24 @@
99
#
1010
# [References]
1111
# Circle CI
12-
# (https://circleci.com/docs)
12+
# https://circleci.com/docs
13+
# Atom CI
14+
# https://github.com/atom/ci
1315
machine:
1416
environment:
1517
ATOM_LINT_WITH_BUNDLED_NODE: "true"
1618
APM_TEST_PACKAGES: ""
19+
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
1720
dependencies:
21+
pre:
22+
- rm -rf ./node_modules
1823
override:
1924
- curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
2025
- chmod u+x build-package.sh
26+
- npm install -g gulp-cli
27+
- npm install gulp
28+
- npm install
2129
test:
2230
override:
31+
- gulp --harmony lint
2332
- ./build-package.sh

gulpfile.js

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
"use strict";
2+
/*
3+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4+
title Project Gulp File +
5+
project nord-atom-syntax +
6+
repository https://github.com/arcticicestudio/nord-atom-syntax +
7+
author Arctic Ice Studio +
8+
email development@arcticicestudio.com +
9+
copyright Copyright (C) 2017 +
10+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11+
12+
[References]
13+
Gulp
14+
(http://gulpjs.com)
15+
npmjs
16+
(https://www.npmjs.com)
17+
*/
18+
/*+---------+
19+
+ Imports +
20+
+---------+*/
21+
const gulp = require("gulp-help")(require("gulp"));
22+
const eslint = require("gulp-eslint");
23+
const gulpStylelint = require("gulp-stylelint");
24+
25+
/*+---------------+
26+
+ Configuration +
27+
+---------------+*/
28+
const javaScriptSources = ["lib/**/*.js"];
29+
const lesscssSources = ["styles/**/*.less"];
30+
31+
/*+-------+
32+
+ Tasks +
33+
+-------+*/
34+
/**
35+
* Shows the help.
36+
*
37+
* @since 0.8.0
38+
*/
39+
gulp.task("default", ["help"]);
40+
41+
/**
42+
* Runs all lint tasks.
43+
*
44+
* @since 0.8.0
45+
*/
46+
gulp.task("lint", "Runs all lint tasks", ["lint-lesscss", "lint-js"]);
47+
48+
/**
49+
* Lints all JavaScript sources.
50+
*
51+
* @since 0.8.0
52+
*/
53+
gulp.task("lint-js", "Lints all JavaScript sources", () => {
54+
return gulp.src(javaScriptSources)
55+
.pipe(eslint())
56+
.pipe(eslint.format())
57+
.pipe(eslint.failAfterError());
58+
});
59+
60+
/**
61+
* Lints all LESSCSS sources.
62+
*
63+
* @since 0.8.0
64+
*/
65+
gulp.task("lint-lesscss", "Lints all LESSCSS sources", () => {
66+
return gulp.src(lesscssSources)
67+
.pipe(gulpStylelint({
68+
failAfterError: true,
69+
reporters: [
70+
{formatter: "verbose", console: true}
71+
]
72+
}));
73+
});

0 commit comments

Comments
 (0)