Skip to content

Commit ebf3adb

Browse files
committed
Import remainder from mithril.js repo
Here's how everything was imported from the original repo (https://github.com/MithrilJS/mithril.js.git): - `/archive`: taken from the `/archive` prefix in `gh-pages` and grafted via `git subtree`. - Source commit: https://github.com/MithrilJS/mithril.js/tree/487780fe5ad0080c91f29d23aaab34051e481c05 - Latest commit in this repo: 6119414 - Subtree insertion commit: 5fd771b - `/docs`: taken from the `/docs` prefix in `next` and grafted via `git subtree`. - Source commit: https://github.com/MithrilJS/mithril.js/tree/9b79e104922c2650da9d4610bff07111e23248f1 - Latest commit in this repo: 782e99d - Subtree insertion commit: 142e991 - `/scripts`: taken from the `/scripts` prefix in `next` and grafted via `git subtree`. - Source commit: https://github.com/MithrilJS/mithril.js/tree/9b79e104922c2650da9d4610bff07111e23248f1 - Latest commit in this repo: 3305750 - Subtree insertion commit: ebb550d - `/.github`: taken from the `/.github` prefix in `next` and grafted via `git subtree`. - Source commit: https://github.com/MithrilJS/mithril.js/tree/9b79e104922c2650da9d4610bff07111e23248f1 - Latest commit in this repo: 600f3f7 - Subtree insertion commit: 03cc1be - Remainder: copied from `next` directly as part of this commit. - Source commit: https://github.com/MithrilJS/mithril.js/tree/9b79e104922c2650da9d4610bff07111e23248f1
1 parent 03cc1be commit ebf3adb

7 files changed

+6768
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
6+
[*.{js,json,yml,html,md}]
7+
indent_style = tab
8+
tab_width = 4
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
end_of_line = lf
12+
13+
[{package.json,.travis.yml,.github/**/*.yml}]
14+
indent_style = space
15+
indent_size = 2

.eslintignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/coverage
2+
/node_modules
3+
/jsconfig.json
4+
/npm-debug.log
5+
/.vscode
6+
/.DS_Store
7+
/.eslintcache
8+
9+
# These are artifacts from various scripts
10+
/dist
11+
/archive
12+
/mithril.js
13+
/mithril.min.js
14+
/stream/stream.min.js
15+
16+
# And the examples are ignored (for now).
17+
/examples

.eslintrc.js

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
"use strict"
2+
3+
module.exports = {
4+
"env": {
5+
"browser": true,
6+
"commonjs": true,
7+
"es6": true,
8+
"node": true
9+
},
10+
"extends": "eslint:recommended",
11+
"rules": {
12+
"accessor-pairs": "error",
13+
"array-bracket-spacing": [
14+
"error",
15+
"never"
16+
],
17+
"array-callback-return": "error",
18+
"arrow-body-style": "error",
19+
"arrow-parens": "error",
20+
"arrow-spacing": "error",
21+
"block-scoped-var": "off",
22+
"block-spacing": "off",
23+
"brace-style": "off",
24+
"callback-return": "off",
25+
"camelcase": [
26+
"error",
27+
{
28+
"properties": "never"
29+
}
30+
],
31+
"comma-dangle": [
32+
"error",
33+
"only-multiline"
34+
],
35+
"comma-spacing": "off",
36+
"comma-style": [
37+
"error",
38+
"last"
39+
],
40+
"complexity": "off",
41+
"computed-property-spacing": [
42+
"error",
43+
"never"
44+
],
45+
"consistent-return": "off",
46+
"consistent-this": "off",
47+
"curly": "off",
48+
"default-case": "off",
49+
"dot-location": [
50+
"error",
51+
"property"
52+
],
53+
"dot-notation": "off",
54+
"eol-last": "off",
55+
"eqeqeq": "off",
56+
"func-names": "off",
57+
"func-style": "off",
58+
"generator-star-spacing": "error",
59+
"global-require": "error",
60+
"guard-for-in": "off",
61+
"handle-callback-err": "error",
62+
"id-blacklist": "error",
63+
"id-length": "off",
64+
"id-match": "error",
65+
"indent": [
66+
"warn",
67+
"tab",
68+
{
69+
"outerIIFEBody": 0,
70+
"SwitchCase": 1
71+
}
72+
],
73+
"init-declarations": "off",
74+
"jsx-quotes": "error",
75+
"key-spacing": "off",
76+
"keyword-spacing": "off",
77+
"linebreak-style": "off",
78+
"lines-around-comment": "off",
79+
"max-depth": "off",
80+
"max-len": "off",
81+
"max-nested-callbacks": "error",
82+
"max-params": "off",
83+
"max-statements": "off",
84+
"max-statements-per-line": "off",
85+
"new-parens": "off",
86+
"newline-after-var": "off",
87+
"newline-before-return": "off",
88+
"newline-per-chained-call": "off",
89+
"no-alert": "error",
90+
"no-array-constructor": "error",
91+
"no-bitwise": "error",
92+
"no-caller": "error",
93+
"no-catch-shadow": "off",
94+
"no-cond-assign": "off",
95+
"no-confusing-arrow": "error",
96+
"no-console": "off",
97+
"no-continue": "off",
98+
"no-div-regex": "error",
99+
"no-duplicate-imports": "error",
100+
"no-else-return": "off",
101+
"no-empty-function": "off",
102+
"no-eq-null": "off",
103+
"no-eval": "error",
104+
"no-extend-native": "off",
105+
"no-extra-bind": "error",
106+
"no-extra-label": "error",
107+
"no-extra-parens": "off",
108+
"no-floating-decimal": "error",
109+
"no-implicit-coercion": "error",
110+
"no-implicit-globals": "error",
111+
"no-implied-eval": "error",
112+
"no-inline-comments": "off",
113+
"no-invalid-this": "off",
114+
"no-iterator": "error",
115+
"no-label-var": "off",
116+
"no-labels": "off",
117+
"no-lone-blocks": "error",
118+
"no-lonely-if": "off",
119+
"no-loop-func": "off",
120+
"no-magic-numbers": "off",
121+
"no-mixed-requires": "error",
122+
"no-multi-spaces": "error",
123+
"no-multi-str": "error",
124+
"no-multiple-empty-lines": "error",
125+
"no-native-reassign": "error",
126+
"no-negated-condition": "off",
127+
"no-nested-ternary": "off",
128+
"no-new": "off",
129+
"no-new-func": "off",
130+
"no-new-object": "error",
131+
"no-new-require": "error",
132+
"no-new-wrappers": "error",
133+
"no-octal-escape": "error",
134+
"no-param-reassign": "off",
135+
"no-path-concat": "off",
136+
"no-plusplus": "off",
137+
"no-process-env": "error",
138+
"no-process-exit": "error",
139+
"no-proto": "error",
140+
"no-redeclare": "off",
141+
"no-restricted-globals": "error",
142+
"no-restricted-imports": "error",
143+
"no-restricted-modules": "error",
144+
"no-restricted-syntax": "error",
145+
"no-return-assign": "off",
146+
"no-script-url": "error",
147+
"no-self-compare": "error",
148+
"no-sequences": "off",
149+
"no-shadow": "off",
150+
"no-shadow-restricted-names": "error",
151+
"no-spaced-func": "error",
152+
"no-sync": "off",
153+
"no-ternary": "off",
154+
"no-throw-literal": "off",
155+
"no-trailing-spaces": [
156+
"error",
157+
{
158+
"skipBlankLines": true
159+
}
160+
],
161+
"no-undef-init": "error",
162+
"no-undefined": "off",
163+
"no-underscore-dangle": "off",
164+
"no-unmodified-loop-condition": "error",
165+
"no-unneeded-ternary": "error",
166+
"no-unused-expressions": "off",
167+
"no-use-before-define": "off",
168+
"no-useless-call": "error",
169+
"no-useless-concat": "error",
170+
"no-useless-constructor": "error",
171+
"no-useless-escape": "off",
172+
"no-var": "off",
173+
"no-void": "off",
174+
"no-warning-comments": "off",
175+
"no-whitespace-before-property": "error",
176+
"no-with": "error",
177+
"object-curly-spacing": [
178+
"error",
179+
"never"
180+
],
181+
"object-shorthand": "off",
182+
"one-var": "off",
183+
"one-var-declaration-per-line": "off",
184+
"operator-assignment": [
185+
"error",
186+
"always"
187+
],
188+
"operator-linebreak": "off",
189+
"padded-blocks": "off",
190+
"prefer-arrow-callback": "off",
191+
"prefer-const": "error",
192+
"prefer-reflect": "off",
193+
"prefer-rest-params": "off",
194+
"prefer-spread": "off",
195+
"prefer-template": "off",
196+
"quote-props": "off",
197+
"quotes": [
198+
"error",
199+
"double",
200+
{"avoidEscape": true}
201+
],
202+
"radix": [
203+
"error",
204+
"always"
205+
],
206+
"require-jsdoc": "off",
207+
"require-yield": "error",
208+
"semi": "off",
209+
"semi-spacing": "off",
210+
"sort-imports": "error",
211+
"sort-vars": "off",
212+
"space-before-blocks": "off",
213+
"space-before-function-paren": "off",
214+
"space-in-parens": [
215+
"error",
216+
"never"
217+
],
218+
"space-infix-ops": "off",
219+
"space-unary-ops": "error",
220+
"spaced-comment": "off",
221+
"strict": ["error", "global"],
222+
"template-curly-spacing": "error",
223+
"valid-jsdoc": "off",
224+
"vars-on-top": "off",
225+
"wrap-iife": "off",
226+
"wrap-regex": "error",
227+
"yield-star-spacing": "error",
228+
"yoda": "off"
229+
},
230+
"root": true
231+
};

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
* text=auto
2+
/mithril.js binary
3+
/mithril.min.js binary
4+
/package-lock.json binary
5+
/yarn.lock binary
6+
7+
# Assets
8+
*.png binary
9+
*.svg binary
10+
*.ico binary

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/coverage
2+
/node_modules
3+
/jsconfig.json
4+
/npm-debug.log
5+
/.vscode
6+
/.DS_Store
7+
/.eslintcache
8+
9+
# These are artifacts from various scripts
10+
/dist
11+
/archive

0 commit comments

Comments
 (0)