Skip to content

Commit 666cb37

Browse files
authored
Merge pull request #1 from frontapp/feat/upgrade-1.6.2
Upgrade to 1.6.2-1
2 parents 15503ed + 6264c7b commit 666cb37

Some content is hidden

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

63 files changed

+6253
-1073
lines changed

.eslintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/coverage
2+
/scripts
3+
/node_modules
4+
/jsdoc
5+
/locales

.eslintrc

Lines changed: 168 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,168 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"jquery": true,
6+
"node": true,
7+
"mocha": true,
8+
},
9+
"globals": {},
10+
"parserOptions": { "ecmaVersion": 8 },
11+
"rules": {
12+
"camelcase": [
13+
2,
14+
{
15+
"properties": "always"
16+
}
17+
],
18+
"eqeqeq": 2,
19+
"indent": [
20+
"error",
21+
2,
22+
{
23+
"ArrayExpression": 1,
24+
"CallExpression": {"arguments": 1},
25+
"FunctionDeclaration": {"body": 1, "parameters": 2},
26+
"MemberExpression": 1,
27+
"ObjectExpression": 1,
28+
"SwitchCase": 1
29+
}
30+
],
31+
"no-use-before-define": [
32+
2,
33+
{
34+
"functions": false
35+
}
36+
],
37+
"max-len": [
38+
2,
39+
120
40+
],
41+
"max-depth": [
42+
2,
43+
2
44+
],
45+
"complexity": [
46+
2,
47+
15
48+
],
49+
"new-cap": 2,
50+
"quotes": [
51+
2,
52+
"single",
53+
{
54+
"allowTemplateLiterals": true
55+
}
56+
],
57+
"strict": [
58+
2,
59+
"global"
60+
],
61+
"no-undef": 2,
62+
"no-unused-vars": 2,
63+
"no-eq-null": 2,
64+
"space-before-function-paren": ["error", {
65+
"anonymous": "always",
66+
"named": "never"
67+
}],
68+
"no-empty": [
69+
2,
70+
{
71+
"allowEmptyCatch": true
72+
}
73+
],
74+
"object-curly-spacing": [
75+
2,
76+
"always"
77+
],
78+
"space-in-parens": [
79+
2,
80+
"never"
81+
],
82+
"quote-props": [
83+
2,
84+
"as-needed"
85+
],
86+
"key-spacing": [
87+
2,
88+
{
89+
"beforeColon": false,
90+
"afterColon": true
91+
}
92+
],
93+
"space-unary-ops": [
94+
2,
95+
{
96+
"words": false,
97+
"nonwords": false
98+
}
99+
],
100+
"no-mixed-spaces-and-tabs": 2,
101+
"no-trailing-spaces": 2,
102+
"comma-dangle": 0,
103+
"comma-spacing": [
104+
2,
105+
{
106+
"after": true,
107+
"before": false
108+
}
109+
],
110+
"no-with": 2,
111+
"brace-style": [
112+
2,
113+
"1tbs",
114+
{
115+
"allowSingleLine": true
116+
}
117+
],
118+
"no-multiple-empty-lines": 2,
119+
"no-multi-str": 2,
120+
"one-var": [
121+
2,
122+
"never"
123+
],
124+
"semi-spacing": [
125+
2,
126+
{
127+
"before": false,
128+
"after": true
129+
}
130+
],
131+
"space-before-blocks": [
132+
2,
133+
"always"
134+
],
135+
"wrap-iife": 2,
136+
"comma-style": [
137+
2,
138+
"last"
139+
],
140+
"space-infix-ops": 2,
141+
"eol-last": 2,
142+
"dot-notation": 2,
143+
"curly": [
144+
2,
145+
"all"
146+
],
147+
"keyword-spacing": [
148+
2,
149+
{}
150+
],
151+
"lines-around-comment": [
152+
2,
153+
{ "afterLineComment": true, "allowBlockEnd": true }
154+
],
155+
"semi": [
156+
2,
157+
"always"
158+
],
159+
"consistent-this": [
160+
2,
161+
"self"
162+
],
163+
"linebreak-style": [
164+
2,
165+
"unix"
166+
]
167+
}
168+
}

.github/workflows/node.js.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
matrix:
19+
node-version: [10.x, 12.x, 14.x]
20+
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
- run: npm ci
28+
- run: npm run build --if-present
29+
- run: npm test

.jscsrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

.jshintrc

Lines changed: 0 additions & 93 deletions
This file was deleted.

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
language: node_js
22
node_js:
3-
- "0.11"
4-
- "4"
5-
- "5"
3+
- "10"
4+
- "12"

0 commit comments

Comments
 (0)