Skip to content

Commit 04eda71

Browse files
committed
Initial commit
0 parents  commit 04eda71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+28512
-0
lines changed

.babelrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["env"]
3+
}

.eslintrc

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": "airbnb",
3+
"parser": "babel-eslint",
4+
"env": {
5+
"es6": true,
6+
"browser": true,
7+
"jasmine": true
8+
},
9+
"rules": {
10+
"comma-dangle": ["error", "never"],
11+
"no-console": 0,
12+
"no-param-reassign": [2, { "props": false }],
13+
# TODO: Check for a fix
14+
"jsx-a11y/href-no-hash": "off",
15+
"jsx-a11y/anchor-is-valid": ["warn", { "aspects": ["invalidHref"] }]
16+
}
17+
}

.gitignore

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Coverage directory used by tools like istanbul
2+
coverage
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
11+
# Dependency directories
12+
node_modules/
13+
14+
# Optional npm cache directory
15+
.npm
16+
17+
# dotenv environment variables file
18+
.env
19+
20+
# Bundle
21+
dist/
22+
23+
#package-loc.json
24+
package-loc.json

.sass-lint.yml

+178
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# sass-lint config generated by make-sass-lint-config v0.1.2
2+
#
3+
# The following scss-lint Linters are not yet supported by sass-lint:
4+
# DisableLinterReason, ElsePlacement, PropertyCount, SelectorDepth
5+
# SpaceAroundOperator, TrailingWhitespace, UnnecessaryParentReference, Compass::*
6+
#
7+
# The following settings/values are unsupported by sass-lint:
8+
# Linter Indentation, option "allow_non_nested_indentation"
9+
# Linter Indentation, option "character"
10+
# Linter NestingDepth, option "ignore_parent_selectors"
11+
# Linter PropertySortOrder, option "min_properties"
12+
# Linter PropertySortOrder, option "separate_groups"
13+
# Linter SpaceBeforeBrace, option "allow_single_line_padding"
14+
# Linter VendorPrefix, option "identifier_list"
15+
16+
files:
17+
include: '**/*.scss'
18+
options:
19+
formatter: stylish
20+
merge-default-rules: false
21+
rules:
22+
bem-depth:
23+
- 0
24+
- max-depth: 1
25+
border-zero:
26+
- 1
27+
- convention: zero
28+
brace-style:
29+
- 1
30+
- allow-single-line: true
31+
class-name-format:
32+
- 1
33+
- convention: hyphenatedlowercase
34+
clean-import-paths:
35+
- 1
36+
- filename-extension: false
37+
leading-underscore: false
38+
empty-line-between-blocks:
39+
- 1
40+
- ignore-single-line-rulesets: true
41+
extends-before-declarations: 1
42+
extends-before-mixins: 1
43+
final-newline:
44+
- 1
45+
- include: true
46+
force-attribute-nesting: 1
47+
force-element-nesting: 1
48+
force-pseudo-nesting: 1
49+
function-name-format:
50+
- 1
51+
- allow-leading-underscore: true
52+
convention: hyphenatedlowercase
53+
hex-length:
54+
- 1
55+
- style: short
56+
hex-notation:
57+
- 1
58+
- style: lowercase
59+
id-name-format:
60+
- 1
61+
- convention: hyphenatedlowercase
62+
indentation:
63+
- 1
64+
- size: 2
65+
leading-zero:
66+
- 1
67+
- include: false
68+
mixin-name-format:
69+
- 1
70+
- allow-leading-underscore: true
71+
convention: hyphenatedlowercase
72+
mixins-before-declarations: 1
73+
nesting-depth:
74+
- 1
75+
- max-depth: 3
76+
no-color-keywords: 1
77+
no-color-literals: 1
78+
no-css-comments: 1
79+
no-debug: 1
80+
no-duplicate-properties: 1
81+
no-empty-rulesets: 1
82+
no-extends: 0
83+
no-ids: 1
84+
no-important: 1
85+
no-invalid-hex: 1
86+
no-mergeable-selectors: 1
87+
no-misspelled-properties:
88+
- 1
89+
- extra-properties: []
90+
no-qualifying-elements:
91+
- 1
92+
- allow-element-with-attribute: false
93+
allow-element-with-class: false
94+
allow-element-with-id: false
95+
no-trailing-zero: 1
96+
no-transition-all: 0
97+
no-url-protocols: 1
98+
no-vendor-prefixes:
99+
- 1
100+
- additional-identifiers: []
101+
excluded-identifiers: []
102+
placeholder-in-extend: 1
103+
placeholder-name-format:
104+
- 1
105+
- convention: hyphenatedlowercase
106+
property-sort-order:
107+
- 1
108+
- ignore-custom-properties: false
109+
property-units:
110+
- 1
111+
- global:
112+
- ch
113+
- em
114+
- ex
115+
- rem
116+
- cm
117+
- in
118+
- mm
119+
- pc
120+
- pt
121+
- px
122+
- q
123+
- vh
124+
- vw
125+
- vmin
126+
- vmax
127+
- deg
128+
- grad
129+
- rad
130+
- turn
131+
- ms
132+
- s
133+
- Hz
134+
- kHz
135+
- dpi
136+
- dpcm
137+
- dppx
138+
- '%'
139+
per-property: {}
140+
quotes:
141+
- 1
142+
- style: single
143+
shorthand-values:
144+
- 1
145+
- allowed-shorthands:
146+
- 1
147+
- 2
148+
- 3
149+
single-line-per-selector: 1
150+
space-after-bang:
151+
- 1
152+
- include: false
153+
space-after-colon:
154+
- 1
155+
- include: true
156+
space-after-comma:
157+
- 1
158+
- include: true
159+
space-before-bang:
160+
- 1
161+
- include: true
162+
space-before-brace:
163+
- 1
164+
- include: true
165+
space-before-colon: 1
166+
space-between-parens:
167+
- 1
168+
- include: false
169+
trailing-semicolon: 1
170+
url-quotes: 1
171+
variable-for-property:
172+
- 0
173+
- properties: []
174+
variable-name-format:
175+
- 1
176+
- allow-leading-underscore: true
177+
convention: hyphenatedlowercase
178+
zero-unit: 1

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# invenio-statistics-js
2+
Invenio-Statistics client library for producing graphs based on statistics.

conf.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"plugins": [],
3+
"recurseDepth": 10,
4+
"source": {
5+
"include": ["src/graph", "src/line", "src/bar"],
6+
"includePattern": ".+\\.js(doc|x)?$",
7+
"excludePattern": "(^|\\/|\\\\)_"
8+
},
9+
"sourceType": "module",
10+
"tags": {
11+
"allowUnknownTags": true,
12+
"dictionaries": ["jsdoc","closure"]
13+
},
14+
"templates": {
15+
"cleverLinks": false,
16+
"monospaceLinks": false
17+
},
18+
"opts": {
19+
"destination": "./docs/"
20+
}
21+
}

0 commit comments

Comments
 (0)