Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
3bb5937
use variable for related list, move toc
jonschlinkert Dec 7, 2015
61c8d24
get plugins loading from verb config
jonschlinkert Dec 7, 2015
b3caf3f
make variables consistent
jonschlinkert Dec 7, 2015
c8122ec
adds `ask` to cli.map
jonschlinkert Dec 7, 2015
8f25e16
remove redundant data
jonschlinkert Dec 7, 2015
1636e6d
adds `get` helper
jonschlinkert Dec 7, 2015
1a450cd
adds `toc` middleware
jonschlinkert Dec 7, 2015
b5cc111
load data inside task, before rendering
jonschlinkert Dec 7, 2015
d7b2110
setup verb defaults
jonschlinkert Dec 7, 2015
4f55235
get config/cli defaults setup
jonschlinkert Dec 7, 2015
1905217
update docs
jonschlinkert Dec 7, 2015
752e06c
update deps
jonschlinkert Dec 7, 2015
5af7630
update readme
jonschlinkert Dec 7, 2015
a496f6a
add layouts, need to customize them still
jonschlinkert Dec 7, 2015
045cc18
adds `ask` flag
jonschlinkert Dec 7, 2015
d7d8b82
only add a layout if not already defined
jonschlinkert Dec 7, 2015
de3a162
generate docs
jonschlinkert Dec 7, 2015
5b3ea47
docs
jonschlinkert Dec 8, 2015
1eb4764
rename `runner.js` to preload
jonschlinkert Dec 8, 2015
097c394
add base-list dependency
doowb Dec 9, 2015
3050c85
setup mappings to enable running base-list methods
doowb Dec 9, 2015
4d6d56c
ensure entire `verbApps` configuration is run after any settings have…
doowb Dec 9, 2015
b2a2763
add related link to data.md docs
jonschlinkert Dec 10, 2015
261c9f1
plugins/middleware docs
jonschlinkert Dec 10, 2015
3487912
handle arrays of plugins
jonschlinkert Dec 10, 2015
9a485bb
improve error messages in verbfile
jonschlinkert Dec 10, 2015
0add104
min layout/verb.md templates
jonschlinkert Dec 10, 2015
4d0f804
don't apply layouts to partials in `preLayout` middleware
jonschlinkert Dec 10, 2015
2e6eeb4
clean up
jonschlinkert Dec 10, 2015
6d232a7
generate readme
jonschlinkert Dec 10, 2015
5308fec
update deps
jonschlinkert Dec 10, 2015
931695f
start adding apidocs helper
jonschlinkert Dec 10, 2015
4905bdb
emit plugins, enqueue default readme questions
jonschlinkert Dec 10, 2015
236834f
organize cli mappings
jonschlinkert Dec 10, 2015
81518e0
add helpers
jonschlinkert Dec 10, 2015
33da8d9
adds `updater` to udpate package.json properties
jonschlinkert Dec 10, 2015
50130ec
don't use `get`, un-abstract
jonschlinkert Dec 12, 2015
05ab86d
get data, middleware and plugins loading as expected on all instances
jonschlinkert Dec 12, 2015
9b005ff
adds `expand` and `schema`, both wip
jonschlinkert Dec 12, 2015
5adf946
fix delims
jonschlinkert Dec 14, 2015
835da85
add contributing template, needs to be updated
jonschlinkert Dec 14, 2015
b90054e
adds `description` to related list sections
jonschlinkert Dec 14, 2015
95d4085
rename `verbApps` to `apps`
jonschlinkert Dec 14, 2015
d23ec8b
rename helper fn to `formatLicense`
jonschlinkert Dec 14, 2015
f2ecf1d
adds `expandConfig` util, to resolve templates in verb config
jonschlinkert Dec 14, 2015
35b47fc
a number of middleware improvements, adds `base-diff`
jonschlinkert Dec 14, 2015
ede3ecd
move preload to `initVerb` method
jonschlinkert Dec 14, 2015
8bdde44
fix name from template in contributing.md
jonschlinkert Dec 14, 2015
8dbdfa4
lint
jonschlinkert Dec 14, 2015
fbc57d3
clean up cli, scaffold out `init` and `help` mappings
jonschlinkert Dec 14, 2015
19e6971
compartmentalize toc logic
jonschlinkert Dec 14, 2015
85de746
rename `userDocs` var to `userDir`
jonschlinkert Dec 14, 2015
2401e7f
start cleaning up verbfile
jonschlinkert Dec 14, 2015
66eef12
updte deps
jonschlinkert Dec 14, 2015
dc9f1a0
lint
jonschlinkert Dec 14, 2015
d26b800
generate readme
jonschlinkert Dec 14, 2015
e3ccb11
dont test instances on cloned `views`
jonschlinkert Dec 14, 2015
23962b9
improve mappings for config/cli properties
jonschlinkert Dec 14, 2015
76d144b
set config values from the command line
jonschlinkert Dec 14, 2015
152c653
adding `base-diff` to dependencies
doowb Dec 14, 2015
3236522
split out some commands
jonschlinkert Dec 20, 2015
c3e9e14
move templates into `lib/templates`
jonschlinkert Dec 20, 2015
693ab48
remove `full` layout since it was almost the same as `default`
jonschlinkert Dec 20, 2015
5dba49a
move `ask` task to `cli.js`
jonschlinkert Dec 20, 2015
28e5877
ensure TOC is generated and inserted only when specified by the user
jonschlinkert Dec 20, 2015
e5b6974
adds `require`, `apidocs` and `issue` helpers
jonschlinkert Dec 20, 2015
f4a71ba
move contributing to templates
jonschlinkert Dec 22, 2015
94e16c8
only add twitter question if it doesn't exist
jonschlinkert Dec 22, 2015
675ce95
remove list helper
jonschlinkert Dec 22, 2015
a2d69de
improve logic to determine if a table of contents is specified
jonschlinkert Dec 22, 2015
531d3a7
adds config mappings for helpers, middleware. several fixes
jonschlinkert Dec 22, 2015
f9a1de1
expand package.json data before merging into context
jonschlinkert Dec 22, 2015
b191dac
ensure that values are cast to the desired type
jonschlinkert Dec 22, 2015
667416d
remove `data` from `defaults.js`
jonschlinkert Dec 22, 2015
db4ef6f
create `sections` partials, rename `libFiles` to `jsFiles`
jonschlinkert Dec 22, 2015
3450553
adds several utils for merging/flattening data
jonschlinkert Dec 22, 2015
e9a56c0
cli improvements
jonschlinkert Dec 22, 2015
faeccc9
adds `pkg` plugin, for getting/setting values on package.json
jonschlinkert Dec 22, 2015
d5e78e8
adds support for `sections`
jonschlinkert Dec 22, 2015
bc3cfba
lint
jonschlinkert Dec 26, 2015
73f6ea9
start working on sections, modularize code to start moving it out
jonschlinkert Dec 26, 2015
40c3693
get `pkg` working
jonschlinkert Dec 26, 2015
26404b6
another attempt to get TOC middleware working correctly
jonschlinkert Dec 26, 2015
67e9ea6
adds `actions` object
jonschlinkert Dec 26, 2015
d3ba848
adds `resolve` and `exists` helpers
jonschlinkert Dec 26, 2015
a3f3f1a
start adding section logic
jonschlinkert Dec 27, 2015
c90268a
add base and env to args for `templates` util
jonschlinkert Dec 27, 2015
e1805ff
clean up questions junk
jonschlinkert Dec 27, 2015
7c455ca
update/move templates
jonschlinkert Jan 3, 2016
2615acd
move some middleware functions into files, clean up
jonschlinkert Jan 3, 2016
0968545
externalize loader function
jonschlinkert Jan 3, 2016
5ecbd74
don't use loader for built-in templates
jonschlinkert Jan 3, 2016
27911cc
lint
jonschlinkert Jan 3, 2016
e1963b5
CLI utils
jonschlinkert Jan 3, 2016
61b4eae
namespace `sections` collection
jonschlinkert Jan 3, 2016
2744508
adds `read` and `example` helpers
jonschlinkert Jan 3, 2016
a13c319
re-add diff middleware
jonschlinkert Jan 3, 2016
72ac92a
clean up data-expansion logic
jonschlinkert Jan 3, 2016
3f85c94
lint
jonschlinkert Jan 3, 2016
8a69042
adds verb `sections`
jonschlinkert Jan 3, 2016
acded2a
docs
jonschlinkert Jan 3, 2016
a620f1d
update readme template to use `sections`
jonschlinkert Jan 3, 2016
b185bc3
remove unused deps
jonschlinkert Jan 3, 2016
e814587
clean up docs
jonschlinkert Jan 3, 2016
0849057
CLI middleware updates
jonschlinkert Jan 11, 2016
0ba6568
fix error messages in applyLayout tests
jonschlinkert Jan 11, 2016
777ec54
clean up toc middleware
jonschlinkert Jan 11, 2016
55ac9de
generate docs
jonschlinkert Jan 11, 2016
56dd630
lint
jonschlinkert Jan 27, 2016
c22276c
refactor
jonschlinkert Feb 6, 2016
be80665
update unit tests
jonschlinkert Feb 6, 2016
d2c2e2d
just silly. this needs to be refactored
jonschlinkert Feb 6, 2016
9c0cd06
setup verb defaults
jonschlinkert Feb 6, 2016
9eb6519
lint and update deps
jonschlinkert Feb 6, 2016
3799184
clean up generators
jonschlinkert Feb 9, 2016
2c03319
simplify cli
jonschlinkert Feb 9, 2016
fd67a59
move cli/config logic into base-runner and base-cli
jonschlinkert Feb 9, 2016
f0566b1
verbfile and readme
jonschlinkert Feb 9, 2016
682ac84
update verbfile to use readme generator
jonschlinkert Feb 9, 2016
7eb039c
minor formatting
jonschlinkert Feb 9, 2016
c6c015f
inherit generate
jonschlinkert Feb 9, 2016
560be3a
remove unused deps
jonschlinkert Feb 10, 2016
65c9cc4
update tests
jonschlinkert Feb 10, 2016
884e8c6
fix helper and generate tests
jonschlinkert Feb 11, 2016
212b4d7
comments and error handling in `bin/verb.js`
jonschlinkert Feb 11, 2016
2bc6336
only create default collections when CLI is used
jonschlinkert Feb 11, 2016
80c31d4
remove unused deps, enable TOC in readme
jonschlinkert Feb 11, 2016
c99192b
update docs
jonschlinkert Feb 11, 2016
04a1bae
use static `.runner` method from `generate`
jonschlinkert Feb 11, 2016
477d535
start adding CLI flags
jonschlinkert Feb 12, 2016
1fdb4d2
clean up
jonschlinkert Feb 12, 2016
3656f9c
custom `toFullname` function
jonschlinkert Feb 12, 2016
4746715
process.exit on `done`
jonschlinkert Feb 12, 2016
f12314f
clean up verbfile
jonschlinkert Feb 12, 2016
7cdeef6
generate docs
jonschlinkert Feb 12, 2016
b16d6ec
reflinks
jonschlinkert Feb 12, 2016
c8b788e
update docs
jonschlinkert Feb 12, 2016
ddf25ce
start adding cli docs
jonschlinkert Feb 12, 2016
f6acbe8
including bin and lib in files
doowb Feb 12, 2016
da59edb
update tests
jonschlinkert Feb 16, 2016
b900f3b
remove variables in docs
jonschlinkert Feb 20, 2016
366bc91
lint tests
jonschlinkert Feb 20, 2016
88289e8
run update
jonschlinkert Feb 20, 2016
0c5aa1b
tweak aliasFn and fullnameFn
jonschlinkert Feb 20, 2016
e7e45dd
update deps
jonschlinkert Feb 20, 2016
97e0f70
remove junk from lib
jonschlinkert Feb 20, 2016
79f53d3
reorganize init code to ensure objects exist when they need to
jonschlinkert Feb 23, 2016
d605db1
questions tests
jonschlinkert Feb 23, 2016
7366ff4
clean up lib
jonschlinkert Feb 28, 2016
3d0c388
adds debug
jonschlinkert Feb 28, 2016
ee8d388
update deps
jonschlinkert Feb 28, 2016
1d52435
generate docs
jonschlinkert Feb 28, 2016
a5d0de6
update tests
jonschlinkert Mar 4, 2016
a06a359
adds `isGeneratorPath`
jonschlinkert Mar 4, 2016
0282bbb
generate docs
jonschlinkert Mar 4, 2016
b088522
start scaffolding out some docs for middleware
jonschlinkert Mar 4, 2016
3260c31
test fixtures
jonschlinkert Mar 4, 2016
10dfa30
start on config docs
jonschlinkert Mar 4, 2016
de14b15
generate docs
jonschlinkert Mar 4, 2016
8612a80
update deps
jonschlinkert Mar 4, 2016
36335d3
update tests to reflect dependency changes
jonschlinkert Mar 5, 2016
fffa4f6
change default generator to display the `--help` menu
jonschlinkert Mar 5, 2016
060bbdb
generate docs
jonschlinkert Mar 5, 2016
12269e2
update deps
jonschlinkert Mar 5, 2016
0831fa8
don't create docs collection
jonschlinkert Mar 6, 2016
b6b1576
generate docs
jonschlinkert Mar 6, 2016
894f6f6
update deps
jonschlinkert Mar 6, 2016
5d9fb77
draft docs
jonschlinkert Mar 21, 2016
17538a2
fix label
jonschlinkert Mar 21, 2016
c20bbe5
format table
jonschlinkert Mar 21, 2016
b94b9dd
clarify config types
jonschlinkert Mar 21, 2016
76ce96a
organize docs
jonschlinkert Apr 3, 2016
0f2a766
minor formatting
jonschlinkert Apr 3, 2016
30441a5
add ctor events, improve alias regex
jonschlinkert Apr 3, 2016
f740bfb
minor edits
jonschlinkert Apr 3, 2016
8d9d2ab
remove listener
jonschlinkert Apr 3, 2016
4b25a60
run update
jonschlinkert Apr 21, 2016
97f0e5a
adds custom commands
jonschlinkert Apr 21, 2016
12bc4dc
simply
jonschlinkert Apr 21, 2016
90129e8
use base-runner
jonschlinkert Apr 21, 2016
65e3a6c
add default tasks
jonschlinkert Apr 21, 2016
7201e04
update tests
jonschlinkert Apr 21, 2016
b0f6dc3
update patterns, lint gulpfile
jonschlinkert Apr 21, 2016
60f813b
add `questions` for init
jonschlinkert Apr 21, 2016
bd80cb3
update deps, scaffold out `reflinks`, `format` (WIP)
jonschlinkert Apr 21, 2016
589f5e2
draft recipe for extending a generator
jonschlinkert Apr 21, 2016
1b103b6
generate readme
jonschlinkert Apr 21, 2016
8bd7ba0
remove wip files
jonschlinkert Apr 21, 2016
20083a3
adds `toAlias` function
jonschlinkert Apr 28, 2016
a34cefb
generate docs
jonschlinkert Apr 28, 2016
f11c6fd
update deps
jonschlinkert Apr 28, 2016
6bb36fd
adds support for `--format`
jonschlinkert May 2, 2016
7acdeb4
reflect changes from base-generators
jonschlinkert May 4, 2016
ccc923f
remove unused code from lib
jonschlinkert May 4, 2016
08c5df5
reflect changes from base-runner
jonschlinkert May 4, 2016
8ec427c
lint
jonschlinkert May 4, 2016
1b19801
update verb config, description
jonschlinkert May 4, 2016
5f3d68b
add/update vinyl-fs tests
jonschlinkert May 5, 2016
c9d1f64
use `verb-readme-generate` full name as default
jonschlinkert May 5, 2016
ce1ca57
update error messages in tests
jonschlinkert May 10, 2016
a709ddb
add sub-generators and tasks to `defaults`
jonschlinkert May 10, 2016
e7297f0
fix pattern used for lookups
jonschlinkert May 10, 2016
a2d6edb
adds `gulp-unused`
jonschlinkert May 10, 2016
22dd580
add verbfile.js for docs
jonschlinkert May 10, 2016
d7527f2
update unit tests
jonschlinkert Jun 11, 2016
5d24979
temporarily remove docs
jonschlinkert Jun 11, 2016
fe57ad4
update default templates to ensure no layout is used
jonschlinkert Jun 11, 2016
185e23c
use `.generate`
jonschlinkert Jun 11, 2016
b32e255
move `contributing.md` to `.github` folder
jonschlinkert Jun 11, 2016
98e0b10
update lookup patterns, init events
jonschlinkert Jun 11, 2016
bcb7648
suggest default layout based on lib
jonschlinkert Jun 11, 2016
58c31ab
adds render task, diffs
jonschlinkert Jun 11, 2016
363690c
adds macro support, better task handling
jonschlinkert Jun 28, 2016
d8b4bb2
adds default templates
jonschlinkert Jun 28, 2016
42109b5
remove unused var
jonschlinkert Jun 28, 2016
8825bed
update deps
jonschlinkert Jun 28, 2016
2a738ed
logger, ctor events
jonschlinkert Jun 28, 2016
6e7dad1
update tests
jonschlinkert Jun 28, 2016
1b2d6f3
run update
jonschlinkert Jun 28, 2016
31c8947
deps
doowb Jun 29, 2016
b43995b
typo
doowb Jun 29, 2016
3ac1aca
adds version command
jonschlinkert Jul 9, 2016
6dffc9a
change lookup pattern to `verb-generate-*`
jonschlinkert Jul 9, 2016
7da124e
adds logo
jonschlinkert Jul 9, 2016
54b4daa
update verbfile
jonschlinkert Jul 9, 2016
63a6397
update deps
jonschlinkert Jul 9, 2016
47cead3
update unit tests
jonschlinkert Jul 13, 2016
685ea46
docs
jonschlinkert Jul 29, 2016
7b296f3
run update
jonschlinkert Jul 29, 2016
a71fc92
add format plugin
jonschlinkert Jul 29, 2016
1e65b7b
improve template
jonschlinkert Jul 29, 2016
9046421
add list task to built-in generator
jonschlinkert Jul 29, 2016
38a654e
make defaults smarter
jonschlinkert Jul 29, 2016
a99f850
use yargs-parser directly
jonschlinkert Jul 29, 2016
5aed8c7
update deps
jonschlinkert Jul 29, 2016
5ed87dc
generate docs
jonschlinkert Jul 29, 2016
50aead4
add verb stores
jonschlinkert Jul 29, 2016
62fceec
clean up reflinks in package.json
jonschlinkert Jul 29, 2016
2991d70
lint
jonschlinkert Jul 29, 2016
cdd7da5
start scaffolding out `init` task
jonschlinkert Jul 29, 2016
40e7563
progress on docs
jonschlinkert Jul 29, 2016
f7fea81
previewing docs
jonschlinkert Jul 29, 2016
20f8a0d
fix branch
jonschlinkert Jul 29, 2016
01c8181
Fix bad syntax in verbfile.js template
ierceg Jan 8, 2017
3a8ca89
Merge pull request #105 from ierceg/ierceg-patch-1
jonschlinkert Jan 8, 2017
533b419
mostly fixed links and deleted those without a reference I could find
aredshaw Oct 26, 2018
93c70e9
Merge pull request #113 from aredshaw/updated-dev-verb
doowb Oct 31, 2018
e12a778
update dotfiles
jonschlinkert Jul 20, 2023
40042fe
lint
jonschlinkert Jul 20, 2023
1a7555b
update verb
jonschlinkert Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# http://editorconfig.org
root = true

[*]
Expand All @@ -11,8 +10,3 @@ insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
insert_final_newline = false

[test/**/*]
trim_trailing_whitespace = false
insert_final_newline = false
213 changes: 213 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
'use strict';

module.exports = {
root: true,
extends: 'eslint:recommended',

env: {
commonjs: true,
es2023: true,
mocha: true,
node: true
},

parserOptions: {
ecmaVersion: 'latest',
sourceType: 'script',
requireConfigFile: false
},

rules: {
'accessor-pairs': 2,
'array-bracket-newline': [1, 'consistent'],
'array-bracket-spacing': [1, 'never'],
'array-callback-return': 1,
'array-element-newline': [1, 'consistent'],
'arrow-body-style': 0,
'arrow-parens': [1, 'as-needed'],
'arrow-spacing': [1, { before: true, after: true }],
'block-scoped-var': 1,
'block-spacing': [1, 'always'],
'brace-style': [1, '1tbs', { allowSingleLine: true }],
'callback-return': 0,
'camelcase': [0, { allow: [] }],
'capitalized-comments': 0,
'class-methods-use-this': 0,
'comma-dangle': [1, 'never'],
'comma-spacing': [1, { before: false, after: true }],
'comma-style': [1, 'last'],
'complexity': 1,
'computed-property-spacing': 1,
'consistent-return': 0,
'consistent-this': 1,
'constructor-super': 2,
'curly': [1, 'multi-line', 'consistent'],
'default-case': 1,
'dot-location': [1, 'property'],
'dot-notation': 1,
'eol-last': 1,
'eqeqeq': [1, 'allow-null'],
'for-direction': 1,
'func-call-spacing': 2,
'generator-star-spacing': [1, { before: true, after: true }],
'handle-callback-err': [2, '^(err|error)$'],
'indent': [1, 2, { SwitchCase: 1 }],
'key-spacing': [1, { beforeColon: false, afterColon: true }],
'keyword-spacing': [1, { before: true, after: true }],
'linebreak-style': [1, 'unix'],
'new-cap': [1, { newIsCap: true, capIsNew: false }],
'new-parens': 2,
'no-alert': 1,
'no-array-constructor': 1,
'no-async-promise-executor': 1,
'no-caller': 2,
'no-case-declarations': 1,
'no-class-assign': 2,
'no-cond-assign': 2,
'no-console': 0,
'no-const-assign': 2,
'no-constant-condition': [1, { checkLoops: false }],
'no-control-regex': 2,
'no-debugger': 2,
'no-delete-var': 2,
'no-dupe-args': 2,
'no-dupe-class-members': 2,
'no-dupe-keys': 2,
'no-duplicate-case': 2,
'no-duplicate-imports': 1,
'no-else-return': 0,
'no-empty-character-class': 2,
'no-empty-function': 0,
'no-empty-pattern': 0,
'no-empty': [1, { allowEmptyCatch: true }],
'no-eval': 0,
'no-ex-assign': 2,
'no-extend-native': 2,
'no-extra-bind': 1,
'no-extra-boolean-cast': 1,
'no-extra-label': 1,
'no-extra-parens': [1, 'all', { conditionalAssign: false, returnAssign: false, nestedBinaryExpressions: false, ignoreJSX: 'multi-line', enforceForArrowConditionals: false }],
'no-extra-semi': 1,
'no-fallthrough': 2,
'no-floating-decimal': 2,
'no-func-assign': 2,
'no-global-assign': 2,
'no-implicit-coercion': 2,
'no-implicit-globals': 1,
'no-implied-eval': 2,
'no-inner-declarations': [1, 'functions'],
'no-invalid-regexp': 2,
'no-invalid-this': 1,
'no-irregular-whitespace': 2,
'no-iterator': 2,
'no-label-var': 2,
'no-labels': 2,
'no-lone-blocks': 2,
'no-lonely-if': 2,
'no-loop-func': 1,
'no-mixed-requires': 1,
'no-mixed-spaces-and-tabs': 2,
'no-multi-assign': 1,
'no-multi-spaces': 1,
'no-multi-str': 2,
'no-multiple-empty-lines': [1, { max: 1 }],
'no-native-reassign': 2,
'no-negated-condition': 0,
'no-negated-in-lhs': 2,
'no-new-func': 2,
'no-new-object': 2,
'no-new-require': 2,
'no-new-symbol': 1,
'no-new-wrappers': 2,
'no-new': 1,
'no-obj-calls': 2,
'no-octal-escape': 2,
'no-octal': 2,
'no-path-concat': 1,
'no-proto': 2,
'no-prototype-builtins': 0,
'no-redeclare': 2,
'no-regex-spaces': 2,
'no-restricted-globals': 2,
'no-return-assign': 1,
'no-return-await': 2,
'no-script-url': 1,
'no-self-assign': 1,
'no-self-compare': 1,
'no-sequences': 2,
'no-shadow-restricted-names': 2,
'no-shadow': 0,
'no-spaced-func': 2,
'no-sparse-arrays': 2,
'no-template-curly-in-string': 0,
'no-this-before-super': 2,
'no-throw-literal': 2,
'no-trailing-spaces': 1,
'no-undef-init': 2,
'no-undef': 2,
'no-unexpected-multiline': 2,
'no-unneeded-ternary': [1, { defaultAssignment: false }],
'no-unreachable-loop': 1,
'no-unreachable': 2,
'no-unsafe-assignment': 0,
'no-unsafe-call': 0,
'no-unsafe-finally': 2,
'no-unsafe-member-access': 0,
'no-unsafe-negation': 2,
'no-unsafe-optional-chaining': 0,
'no-unsafe-return': 0,
'no-unused-expressions': 2,
'no-unused-vars': [1, { vars: 'all', args: 'after-used' }],
'no-use-before-define': 0,
'no-useless-call': 2,
'no-useless-catch': 0,
'no-useless-escape': 0,
'no-useless-rename': 1,
'no-useless-return': 1,
'no-var': 1,
'no-void': 1,
'no-warning-comments': 0,
'no-with': 2,
'object-curly-spacing': [2, 'always', { objectsInObjects: true }],
'object-shorthand': 1,
'one-var': [1, { initialized: 'never' }],
'operator-linebreak': [0, 'after', { overrides: { '?': 'before', ':': 'before' } }],
'padded-blocks': [1, { switches: 'never' }],
'prefer-const': [1, { destructuring: 'all', ignoreReadBeforeAssign: false }],
'prefer-promise-reject-errors': 1,
'quotes': [1, 'single'],
'radix': 2,
'rest-spread-spacing': 1,
'semi-spacing': [1, { before: false, after: true }],
'semi-style': 1,
'semi': [1, 'always'],
'space-before-blocks': [1, 'always'],
'space-before-function-paren': [1, { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
'space-in-parens': [1, 'never'],
'space-infix-ops': 1,
'space-unary-ops': [1, { words: true, nonwords: false }],
'spaced-comment': [0, 'always', { markers: ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ','] }],
'strict': 2,
'switch-colon-spacing': 1,
'symbol-description': 1,
'template-curly-spacing': [2, 'never'],
'template-tag-spacing': [2, 'never'],
'unicode-bom': 1,
'use-isnan': 2,
'valid-jsdoc': 1,
'valid-typeof': 2,
'wrap-iife': [1, 'any'],
'yoda': [1, 'never']
},

ignorePatterns: [
'node_modules',
'dist',
'tmp',
'temp',
'lib/templates',
'support',
'test/fixtures',
'test/support'
]
};
9 changes: 7 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
* text=lf
# Enforce Unix newlines
* text eol=lf

# binaries
*.ai binary
*.psd binary
*.jpg binary
*.gif binary
*.png binary
*.jpeg binary
*.jpeg binary
43 changes: 43 additions & 0 deletions .github/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Contributing to Verb

First and foremost, thank you! We appreciate that you want to contribute to Verb, your time is valuable, and your contributions mean a lot to us.

**What does "contributing" mean?**

Creating an issue is the simplest form of contributing to a project. But there are many ways to contribute, including the following:

- Updating or correcting documentation
- Feature requests
- Bug reports

## Issues

**Before creating an issue**

Please make sure you're creating one in the right place:

- do you have a template syntax question? Like how to accomplish something with handlebars? The best place to get answers for this is [stackoverflow.com][], the [handlebars docs](handlebarsjs.com), or the documentation for the template engine you're using.
- Are you having an issue with an Verb feature that is powered by an underlying lib? This is sometimes difficult to know, but sometimes it can be pretty easy to find out. For example, if you use a glob pattern somewhere and you found what you believe to be a matching bug, that would probably be an issue for [node-glob][] or [micromatch][]

**Creating an issue**

Please be as descriptive as possible when creating an issue. Give us the information we need to successfully answer your question or address your issue by answering the following in your issue:

- what version of assemble are you using?
- is the issue helper-related? If so, this issue should probably be opened on the repo related to the helper being used.
- do you have any custom helpers defined? Is the issue related to the helper itself, data (context) being passed to the helper, or actually registering the helper in the first place?
- are you using middleware?
- any plugins?


## Above and beyond

Here are some tips for creating idiomatic issues. Taking just a little bit extra time will make your issue easier to read, easier to resolve, more likely to be found by others who have the same or similar issue in the future.

- take some time to learn basic markdown. This [markdown cheatsheet](https://gist.github.com/jonschlinkert/5854601) is super helpful, as is the GitHub guide to [basic markdown](https://help.github.com/articles/markdown-basics/).
- Learn about [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/). And if you want to really go above and beyond, read [mastering markdown](https://guides.github.com/features/mastering-markdown/).
- use backticks to wrap code. This ensures that code will retain its format, making it much more readable to others
- use syntax highlighting by adding the correct language name after the first "code fence"

[node-glob]: https://github.com/isaacs/node-glob
[micromatch]: https://github.com/jonschlinkert/micromatch
40 changes: 22 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
*.rar
# always ignore files
*.sublime-*
npm-debug.log
.DS*
TODO.md
*.code-*
*.log
.DS_Store
.env
.env.*

# always ignore dirs
temp
tmp
vendor

# Always-ignore dirs
node_modules/
tmp/
temp/
vendor/
# test related, or directories generated by tests
.nyc*
coverage
support

# package managers
node_modules
package-lock.json
yarn.lock

# misc
_draft
TODO.md
29 changes: 0 additions & 29 deletions .jshintrc

This file was deleted.

11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

Loading