Skip to content

Commit cb6927a

Browse files
committed
run update
1 parent 8a22be1 commit cb6927a

File tree

7 files changed

+63
-45
lines changed

7 files changed

+63
-45
lines changed

.editorconfig

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
1-
# http://editorconfig.org
1+
# http://editorconfig.org/
22
root = true
33

44
[*]
5-
indent_style = space
6-
end_of_line = lf
75
charset = utf-8
6+
end_of_line = lf
87
indent_size = 2
9-
trim_trailing_whitespace = true
8+
indent_style = space
109
insert_final_newline = true
10+
trim_trailing_whitespace = true
1111

12-
[*.md]
13-
trim_trailing_whitespace = false
14-
insert_final_newline = false
15-
16-
[{,test/}{actual,fixtures}/**]
17-
trim_trailing_whitespace = false
18-
insert_final_newline = false
19-
20-
[templates/**]
12+
[{**/{actual,fixtures,expected,templates}/**,*.md}]
2113
trim_trailing_whitespace = false
2214
insert_final_newline = false

.eslintrc renamed to .eslintrc.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"ecmaFeatures": {
3-
"modules": true,
4-
"experimentalObjectRestSpread": true
5-
},
6-
72
"env": {
83
"browser": false,
94
"es6": true,
@@ -34,6 +29,7 @@
3429
"handle-callback-err": [2, "^(err|error)$" ],
3530
"indent": [2, 2, { "SwitchCase": 1 }],
3631
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
32+
"keyword-spacing": [2, { "before": true, "after": true }],
3733
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
3834
"new-parens": 2,
3935
"no-array-constructor": 2,
@@ -49,7 +45,6 @@
4945
"no-dupe-keys": 2,
5046
"no-duplicate-case": 2,
5147
"no-empty-character-class": 2,
52-
"no-empty-label": 2,
5348
"no-eval": 2,
5449
"no-ex-assign": 2,
5550
"no-extend-native": 2,
@@ -71,7 +66,7 @@
7166
"no-multi-spaces": 2,
7267
"no-multi-str": 2,
7368
"no-multiple-empty-lines": [2, { "max": 1 }],
74-
"no-native-reassign": 2,
69+
"no-native-reassign": 0,
7570
"no-negated-in-lhs": 2,
7671
"no-new": 2,
7772
"no-new-func": 2,
@@ -108,13 +103,10 @@
108103
"radix": 2,
109104
"semi": [2, "always"],
110105
"semi-spacing": [2, { "before": false, "after": true }],
111-
"space-after-keywords": [2, "always"],
112106
"space-before-blocks": [2, "always"],
113107
"space-before-function-paren": [2, "never"],
114-
"space-before-keywords": [2, "always"],
115108
"space-in-parens": [2, "never"],
116109
"space-infix-ops": 2,
117-
"space-return-throw-case": 2,
118110
"space-unary-ops": [2, { "words": true, "nonwords": false }],
119111
"spaced-comment": [0, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }],
120112
"use-isnan": 2,

.gitignore

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
1+
# always ignore files
12
*.DS_Store
3+
.idea
4+
.vscode
25
*.sublime-*
3-
_gh_pages
4-
bower_components
6+
7+
# test related, or directories generated by tests
8+
test/actual
9+
actual
10+
coverage
11+
.nyc*
12+
13+
# npm
514
node_modules
615
npm-debug.log
7-
actual
8-
test/actual
16+
17+
# yarn
18+
yarn.lock
19+
yarn-error.log
20+
21+
# misc
22+
_gh_pages
23+
_draft
24+
_drafts
25+
bower_components
26+
vendor
927
temp
1028
tmp
1129
TODO.md
12-
vendor
13-
.idea
14-
benchmark
15-
coverage
30+
package-lock.json

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
sudo: false
2+
os:
3+
- linux
4+
- osx
15
language: node_js
26
node_js:
3-
- "stable"
4-
- "0.12"
5-
- "0.10"
6-
matrix:
7-
fast_finish: true
8-
allow_failures:
9-
- node_js: "0.10"
7+
- node
8+
- '9'
9+
- '8'
10+
- '7'
11+
- '6'
12+
- '5'
13+
- '4'
14+
- '0.12'
15+
- '0.10'

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015, Jon Schlinkert.
3+
Copyright (c) 2015-2018, Jon Schlinkert.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*!
2-
* quoted-string-regex <https://github.com/jonschlinkert/quoted-string-regex>
2+
* quoted-string-regex <https://github.com/regexps/quoted-string-regex>
33
*
4-
* Copyright (c) 2015, Jon Schlinkert.
5-
* Licensed under the MIT License.
4+
* Copyright (c) 2015-2017, Jon Schlinkert.
5+
* Released under the MIT License.
66
*/
77

88
'use strict';

package.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,39 @@
1212
"files": [
1313
"index.js"
1414
],
15+
"main": "index.js",
1516
"engines": {
1617
"node": ">=0.10.0"
1718
},
1819
"scripts": {
1920
"test": "mocha"
2021
},
2122
"devDependencies": {
22-
"mocha": "*"
23+
"gulp-format-md": "^1.0.0",
24+
"mocha": "^3.5.3"
2325
},
2426
"keywords": [
2527
"quoted",
2628
"regex",
2729
"string"
2830
],
2931
"verb": {
32+
"toc": false,
33+
"layout": "default",
34+
"tasks": [
35+
"readme"
36+
],
37+
"plugins": [
38+
"gulp-format-md"
39+
],
3040
"related": {
3141
"list": [
32-
"todo-regex",
33-
"copyright-regex"
42+
"copyright-regex",
43+
"todo-regex"
3444
]
45+
},
46+
"lint": {
47+
"reflinks": true
3548
}
3649
}
3750
}

0 commit comments

Comments
 (0)