Skip to content

Commit 64dd8a6

Browse files
committed
run update
1 parent 1439ba8 commit 64dd8a6

File tree

11 files changed

+352
-44
lines changed

11 files changed

+352
-44
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# http://editorconfig.org
21
root = true
32

43
[*]
54
indent_style = space
6-
indent_size = 2
75
end_of_line = lf
86
charset = utf-8
7+
indent_size = 2
98
trim_trailing_whitespace = true
109
insert_final_newline = true
1110

12-
[*.md]
11+
[{**/{actual,fixtures,expected,templates}/**,*.md}]
1312
trim_trailing_whitespace = false
13+
insert_final_newline = false

.eslintrc.json

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
{
2+
"ecmaFeatures": {
3+
"modules": true,
4+
"experimentalObjectRestSpread": true
5+
},
6+
7+
"env": {
8+
"browser": false,
9+
"es6": true,
10+
"node": true,
11+
"mocha": true
12+
},
13+
14+
"globals": {
15+
"document": false,
16+
"navigator": false,
17+
"window": false
18+
},
19+
20+
"rules": {
21+
"accessor-pairs": 2,
22+
"arrow-spacing": [2, { "before": true, "after": true }],
23+
"block-spacing": [2, "always"],
24+
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
25+
"comma-dangle": [2, "never"],
26+
"comma-spacing": [2, { "before": false, "after": true }],
27+
"comma-style": [2, "last"],
28+
"constructor-super": 2,
29+
"curly": [2, "multi-line"],
30+
"dot-location": [2, "property"],
31+
"eol-last": 2,
32+
"eqeqeq": [2, "allow-null"],
33+
"generator-star-spacing": [2, { "before": true, "after": true }],
34+
"handle-callback-err": [2, "^(err|error)$" ],
35+
"indent": [2, 2, { "SwitchCase": 1 }],
36+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
37+
"keyword-spacing": [2, { "before": true, "after": true }],
38+
"new-cap": [2, { "newIsCap": true, "capIsNew": false }],
39+
"new-parens": 2,
40+
"no-array-constructor": 2,
41+
"no-caller": 2,
42+
"no-class-assign": 2,
43+
"no-cond-assign": 2,
44+
"no-const-assign": 2,
45+
"no-control-regex": 2,
46+
"no-debugger": 2,
47+
"no-delete-var": 2,
48+
"no-dupe-args": 2,
49+
"no-dupe-class-members": 2,
50+
"no-dupe-keys": 2,
51+
"no-duplicate-case": 2,
52+
"no-empty-character-class": 2,
53+
"no-eval": 2,
54+
"no-ex-assign": 2,
55+
"no-extend-native": 2,
56+
"no-extra-bind": 2,
57+
"no-extra-boolean-cast": 2,
58+
"no-extra-parens": [2, "functions"],
59+
"no-fallthrough": 2,
60+
"no-floating-decimal": 2,
61+
"no-func-assign": 2,
62+
"no-implied-eval": 2,
63+
"no-inner-declarations": [2, "functions"],
64+
"no-invalid-regexp": 2,
65+
"no-irregular-whitespace": 2,
66+
"no-iterator": 2,
67+
"no-label-var": 2,
68+
"no-labels": 2,
69+
"no-lone-blocks": 2,
70+
"no-mixed-spaces-and-tabs": 2,
71+
"no-multi-spaces": 2,
72+
"no-multi-str": 2,
73+
"no-multiple-empty-lines": [2, { "max": 1 }],
74+
"no-native-reassign": 0,
75+
"no-negated-in-lhs": 2,
76+
"no-new": 2,
77+
"no-new-func": 2,
78+
"no-new-object": 2,
79+
"no-new-require": 2,
80+
"no-new-wrappers": 2,
81+
"no-obj-calls": 2,
82+
"no-octal": 2,
83+
"no-octal-escape": 2,
84+
"no-proto": 0,
85+
"no-redeclare": 2,
86+
"no-regex-spaces": 2,
87+
"no-return-assign": 2,
88+
"no-self-compare": 2,
89+
"no-sequences": 2,
90+
"no-shadow-restricted-names": 2,
91+
"no-spaced-func": 2,
92+
"no-sparse-arrays": 2,
93+
"no-this-before-super": 2,
94+
"no-throw-literal": 2,
95+
"no-trailing-spaces": 0,
96+
"no-undef": 2,
97+
"no-undef-init": 2,
98+
"no-unexpected-multiline": 2,
99+
"no-unneeded-ternary": [2, { "defaultAssignment": false }],
100+
"no-unreachable": 2,
101+
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
102+
"no-useless-call": 0,
103+
"no-with": 2,
104+
"one-var": [0, { "initialized": "never" }],
105+
"operator-linebreak": [0, "after", { "overrides": { "?": "before", ":": "before" } }],
106+
"padded-blocks": [0, "never"],
107+
"quotes": [2, "single", "avoid-escape"],
108+
"radix": 2,
109+
"semi": [2, "always"],
110+
"semi-spacing": [2, { "before": false, "after": true }],
111+
"space-before-blocks": [2, "always"],
112+
"space-before-function-paren": [2, "never"],
113+
"space-in-parens": [2, "never"],
114+
"space-infix-ops": 2,
115+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
116+
"spaced-comment": [0, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }],
117+
"use-isnan": 2,
118+
"valid-typeof": 2,
119+
"wrap-iife": [2, "any"],
120+
"yoda": [2, "never"]
121+
}
122+
}

.gitignore

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
1-
*.DS_store
1+
# always ignore files
2+
*.DS_Store
23
*.sublime-*
3-
_gh_pages
4+
5+
# test related, or directories generated by tests
6+
test/actual
47
actual
5-
bower_components
8+
coverage
9+
10+
# npm
611
node_modules
712
npm-debug.log
13+
14+
# misc
15+
_gh_pages
16+
bower_components
17+
vendor
818
temp
9-
test/actual
1019
tmp
1120
TODO.md
12-
vendor

.jshintrc

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

.travis.yml

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

.verb.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {%= name %} {%= badge("fury") %}
1+
# {%= name %} {%= badge("fury") %} {%= badge("travis") %}
22

33
> {%= description %}
44
@@ -22,7 +22,7 @@ var matches = str.match(regex());
2222
```
2323

2424
## Related projects
25-
{%= related(['update-copyright', 'parse-copyright']) %}
25+
{%= related(verb.related.list) %}
2626

2727
## Running tests
2828
{%= include("tests") %}
@@ -35,7 +35,7 @@ var matches = str.match(regex());
3535

3636
## License
3737
{%= copyright() %}
38-
{%= license() %}
38+
{%= license %}
3939

4040
***
4141

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-2016, 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
2-
* copyright-regex <https://github.com/regexps/copyright-regex>
2+
* copyright-regex <https://github.com/regexhq/copyright-regex>
33
*
4-
* Copyright (c) 2015 Jon Schlinkert.
4+
* Copyright (c) 2015-2016 Jon Schlinkert.
55
* Licensed under the MIT license.
66
*/
77

package.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@
22
"name": "copyright-regex",
33
"description": "Regex for matching and parsing copyright statements.",
44
"version": "1.1.5",
5-
"homepage": "https://github.com/regexps/copyright-regex",
6-
"author": {
7-
"name": "Jon Schlinkert",
8-
"url": "https://github.com/jonschlinkert"
9-
},
10-
"repository": {
11-
"type": "git",
12-
"url": "git://github.com/regexps/copyright-regex.git"
13-
},
5+
"homepage": "https://github.com/regexhq/copyright-regex",
6+
"author": "Jon Schlinkert (https://github.com/regexhq)",
7+
"repository": "regexhq/copyright-regex",
148
"bugs": {
15-
"url": "https://github.com/regexps/copyright-regex/issues"
9+
"url": "https://github.com/regexhq/copyright-regex/issues"
1610
},
1711
"license": "MIT",
1812
"files": [
@@ -26,15 +20,15 @@
2620
"test": "mocha"
2721
},
2822
"devDependencies": {
29-
"mocha": "*"
23+
"mocha": "^3.2.0"
3024
},
3125
"keywords": [
3226
"copyright",
3327
"date",
3428
"expression",
29+
"parse",
3530
"regex",
3631
"regexp",
37-
"parse",
3832
"regular",
3933
"year"
4034
]

test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
'use strict';
99

10+
require('mocha');
1011
var assert = require('assert');
1112
var re = require('./')();
1213

0 commit comments

Comments
 (0)