Skip to content

Development #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 273 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
273 commits
Select commit Hold shift + click to select a range
18e5df6
Updated test files
tjbenton Oct 1, 2015
b8a7bcf
Added cli support
tjbenton Oct 11, 2015
2c21b2e
Removed the Makefile and put them in the package.json
tjbenton Oct 11, 2015
15bfe34
Added `app/` to the npm ignore file
tjbenton Oct 11, 2015
26f30cc
Changed `build` to `dist`
tjbenton Oct 11, 2015
bc67720
Moved `index.js` to `app/index.js`
tjbenton Oct 11, 2015
4a15cfb
Removed babelrc because it's not needed
tjbenton Oct 11, 2015
96776f7
Updated a few jcsc settings
tjbenton Oct 11, 2015
12b7723
Added a config file
tjbenton Oct 11, 2015
ffbef0b
changed the name of a function
tjbenton Oct 11, 2015
497c321
Added support for generators and async functions
tjbenton Oct 11, 2015
3330da1
General updates to `package.json`
tjbenton Oct 11, 2015
22c536c
Added an event emmiter
tjbenton Oct 11, 2015
355a137
Fixed config
tjbenton Oct 12, 2015
03b1d8c
updated jscs settings
tjbenton Oct 12, 2015
26b85bc
Updated `cli.js` to be more flexible
tjbenton Oct 12, 2015
56697d4
Updated to use `commander` to set the defaults
tjbenton Oct 12, 2015
13e14fa
Updated config to only accept a structure
tjbenton Oct 12, 2015
f4fe34f
Fixed jscs errors
tjbenton Oct 12, 2015
8e95e71
Added new `to.flat_array`
tjbenton Oct 12, 2015
87e6587
Added `co` for generator support
tjbenton Oct 12, 2015
26f667a
Removed `console.log`s from glob
tjbenton Oct 12, 2015
131fb96
Fixed JSCS errors
tjbenton Oct 12, 2015
c878788
Moved utilities into it's own folder
tjbenton Oct 12, 2015
e6f462c
Added `rm -rf ./dist` to the dev scritps
tjbenton Oct 12, 2015
530b348
Changed `is.function` to `is.func`
tjbenton Oct 13, 2015
a8816ae
Added some sweet functions to help out with async arrays
tjbenton Oct 13, 2015
c9b3d55
Fixed jscs errors
tjbenton Oct 13, 2015
77570bd
Updated globs to support a async filter :thumbsup:
tjbenton Oct 13, 2015
b813781
Removed `.js` from imports/exports
tjbenton Oct 13, 2015
08fa65c
Added 2 additional settings
tjbenton Oct 13, 2015
c46d60a
Fixed JSCS errors
tjbenton Oct 13, 2015
b6f7b9a
Removed the need for paths since a filter was added to globs
tjbenton Oct 13, 2015
4b4d74b
Ensured all comment types have all default settings
tjbenton Oct 13, 2015
3108b85
added a default to remove paths to directories
tjbenton Oct 14, 2015
95e4937
fixed jscs errors
tjbenton Oct 14, 2015
633166d
Removed weird setting that prepended the filetype to the page
tjbenton Oct 14, 2015
96a273f
fixed jscs errors
tjbenton Oct 14, 2015
635f719
Added todo comment
tjbenton Oct 14, 2015
6ca672d
`fs.ensureFile` changed to be a promise
tjbenton Oct 14, 2015
c7de088
Updated to actually call the docs function now
tjbenton Oct 14, 2015
d93db58
Added more options
tjbenton Oct 15, 2015
74572a3
Changed config to be a async function
tjbenton Oct 15, 2015
f91eacc
Added a few more options, and updated description
tjbenton Oct 15, 2015
12f1f55
Added jshint support
tjbenton Oct 15, 2015
53ec250
updated gitignore
tjbenton Oct 15, 2015
ba2c364
Removed `is` and added `array`
tjbenton Oct 15, 2015
51c054f
Overhauled the main docs function to be easier to use :thumbsup:
tjbenton Oct 15, 2015
ef1cce8
Fixed jscs errors and jshint errors
tjbenton Oct 15, 2015
2f0a087
Added packages specifically for testing
tjbenton Oct 15, 2015
9861628
Fixed typo
tjbenton Oct 16, 2015
89bcf90
Updated `is.js` to use `is_js` lib instead
tjbenton Oct 16, 2015
f6962b2
Updated to use `is.plain_object`, and `is.fn`
tjbenton Oct 16, 2015
1f1900a
Fixed a few JShint errors
tjbenton Oct 16, 2015
634448e
changed to use `is.in`
tjbenton Oct 16, 2015
1e085f7
Added a few more default files to ignore
tjbenton Oct 16, 2015
7864e40
fixed formatting, and updated a few `is` functions
tjbenton Oct 16, 2015
dce5d19
Fixed formatting
tjbenton Oct 16, 2015
17b3d00
reorganized and added some folders
tjbenton Oct 16, 2015
ebe7693
Added more files to ignore
tjbenton Oct 16, 2015
a242ea9
Updated to include email address
tjbenton Oct 16, 2015
47c2ccf
Fixed package.json errors
tjbenton Oct 16, 2015
f53a312
Added `is_js` dependency
tjbenton Oct 16, 2015
a58895c
Added a kick ass testing setup
tjbenton Oct 16, 2015
89e7b18
General updates
tjbenton Oct 16, 2015
a41f5cf
added crappy windows file for testing `\r` stuff
tjbenton Oct 18, 2015
9c02b9d
wrote unit tests for the `to` helper functions
tjbenton Oct 18, 2015
c777d27
removed case functions and just imported `change-case` lib
tjbenton Oct 18, 2015
2c35652
Fixed the clone function so it works correctly now
tjbenton Oct 18, 2015
d1d2fb5
moved location of `to.json`
tjbenton Oct 18, 2015
8a5d703
simplified some functions and removed unused functions
tjbenton Oct 18, 2015
d29f6a1
added `change-case`
tjbenton Oct 18, 2015
73016ce
fixed jscs errors
tjbenton Oct 18, 2015
459e68a
fixed jscs errors
tjbenton Oct 18, 2015
fba6c47
Renamed tests to have `.tests.js` at the end
tjbenton Oct 18, 2015
4e1d382
Moved location of `is`
tjbenton Oct 18, 2015
7ed4bcb
removed passed argument because it's not used
tjbenton Oct 20, 2015
bee8323
fixed bug with `to.object`
tjbenton Oct 20, 2015
c7253b7
reworked annotations to be in a single file
tjbenton Oct 20, 2015
a3de83d
:bug: annotation callbacks were breaking when cloned
tjbenton Oct 20, 2015
37d3ea1
Added the default annotations and api
tjbenton Oct 20, 2015
d6a338d
renamed emmitter to be logger
tjbenton Oct 20, 2015
456c8df
Added an event logger
tjbenton Oct 20, 2015
df43610
fixed formatting
tjbenton Oct 20, 2015
dc4ec76
reordered some imports
tjbenton Oct 20, 2015
6c40b83
:bug: Changed to be `to.extend`
tjbenton Oct 20, 2015
a2a0b0d
Simplified the parser
tjbenton Oct 20, 2015
5b53970
Switched to use `tap-spec` for the testing reporter
tjbenton Oct 20, 2015
2550d50
Combined the logger and reporter into a single file
tjbenton Oct 21, 2015
13c0b42
Changed the cli options to overright the config file
tjbenton Oct 21, 2015
5af33d0
Added warning to the logger
Oct 22, 2015
69c24a7
:bug: fix for cli inputs
Oct 22, 2015
67b871f
Fixed formatting of logging messages
Oct 22, 2015
2682e0f
Ensures the `header` is always defined
Oct 22, 2015
1a408e5
Added a `page_fallback` option
Oct 22, 2015
5785234
Added an options for returning raw data
tjbenton Oct 23, 2015
96176ea
Added a fix for changed files
tjbenton Oct 24, 2015
0bbbd4c
added coveralls to devDependencies
tjbenton Oct 24, 2015
c06cb8f
Fixed the logger
tjbenton Oct 25, 2015
55ecb45
Change name to contents since that's what it is
tjbenton Oct 25, 2015
5161166
Added start and end lines to the block
tjbenton Oct 25, 2015
7465417
Added a kickass object iterator :raised_hands:
tjbenton Oct 25, 2015
47652a1
updated sorter
tjbenton Oct 25, 2015
60ac880
made some general changes to the
tjbenton Oct 25, 2015
eb49dbf
Fixed formatting
tjbenton Oct 25, 2015
df683b0
removed log because it was merged with logger
tjbenton Oct 25, 2015
be14aa9
Fixes an issue with buffers not being converted properly
tjbenton Oct 25, 2015
c2fb2d2
general cleanup
tjbenton Oct 25, 2015
e4cc94a
removed support for `v0.10.0`
tjbenton Oct 25, 2015
0849d84
removed unneeded `;`
tjbenton Oct 25, 2015
8b85793
added a map and filter function with object support
tjbenton Oct 26, 2015
139eb5b
added support for aliases
tjbenton Oct 26, 2015
0c0a596
Fixed linter errors
tjbenton Oct 26, 2015
85268f4
Added a check in for aliases
tjbenton Oct 26, 2015
078fb0a
Fixed formatting
tjbenton Oct 26, 2015
0595c04
Added log to the parsed blocks
tjbenton Oct 27, 2015
c874ab1
Updated parser(autofill, resolve, removed run_annotation)
tjbenton Oct 27, 2015
f5ae6a2
Moved `...parsed` down to reduce the jshint errors
tjbenton Oct 27, 2015
68d22ce
added a markdown test
tjbenton Oct 31, 2015
fd30aa5
added md comment style
tjbenton Oct 31, 2015
d759ed1
added a few more default files to parse
tjbenton Oct 31, 2015
9238097
Changed `callback` to be `parse`
tjbenton Oct 31, 2015
19c233d
Updated to be `--no-` for debug, warning, change, timestamp
tjbenton Oct 31, 2015
4040db2
added a option to convert an array to an object
tjbenton Oct 31, 2015
38302d4
Added more parsing for the annotations
tjbenton Oct 31, 2015
c7cdbdf
changed `to.flat_array` to be `to.flatten`
tjbenton Nov 1, 2015
bd69059
updated to better clone function
tjbenton Nov 1, 2015
1490889
Fixed jscs errors
tjbenton Nov 1, 2015
85d84a0
changed `to.unique_array` to be `to.unique`
tjbenton Nov 1, 2015
cc6ccbe
Updated jscsrc to use googles default
tjbenton Nov 1, 2015
cf9a891
removed gulp file because it's not longer needed.
tjbenton Nov 1, 2015
a78ff5f
had to change back to the old `to.clone`
tjbenton Nov 1, 2015
2d853d8
Adds the last line in the contents to the comment contents
tjbenton Nov 1, 2015
5fc7c96
fixes a bug with multi line comments
tjbenton Nov 1, 2015
d961571
scoped the regexes
tjbenton Nov 1, 2015
5db8d95
added super powers to `@state`
tjbenton Nov 2, 2015
3006f0a
fixed jscs errors
tjbenton Nov 2, 2015
802a24c
Updated logger
tjbenton Nov 2, 2015
e5f99d6
Updated some tests
tjbenton Nov 2, 2015
6201358
Added test files for annotations
tjbenton Nov 2, 2015
32c3452
added some test cases for the new `@state`, and `@markup`
tjbenton Nov 2, 2015
2d7181b
Changed `./tests` to `./examples`
tjbenton Nov 2, 2015
b94fb1f
Updated string function to format multi line strings better
tjbenton Nov 3, 2015
fd9c732
Updated to use `clor` instead of `chalk`
tjbenton Nov 3, 2015
48adf9d
Changed max length to be 125
tjbenton Nov 3, 2015
caa2ed0
Fixed some tests
tjbenton Nov 3, 2015
93dd7b0
updated normalize to be able to opt out of removing lines
tjbenton Nov 4, 2015
156feaf
added a test case to check for
Dec 17, 2015
216c801
updated dependencies
Dec 21, 2015
cb4c240
updated assets
tjbenton Feb 17, 2016
135b3f5
moved tests
Feb 18, 2016
4dd2263
updated linter files
Feb 18, 2016
1b502a7
updated scripts and deps
Feb 18, 2016
c09a92a
added test runner for mock tests
Feb 18, 2016
930873c
updated to standards
Feb 18, 2016
100d243
updated standards
Feb 18, 2016
6362c35
updated to use async
Feb 18, 2016
92d1e48
fixed standard
Feb 18, 2016
a4b6efe
fixes an issue where multiple instances of `docs` didn't work
Feb 18, 2016
d6bf1a4
always ignore json files
Feb 18, 2016
11fefe2
deleted a duplicate test case
Feb 18, 2016
d2d35d3
standards
Feb 19, 2016
5b1c2ca
fixed a bug with `pages.js`
tjbenton Feb 19, 2016
a9d9844
updated case tests
tjbenton Feb 19, 2016
d4ecd3f
ensures the json file is updated correctly
tjbenton Feb 19, 2016
5af8d42
fixed a bug where `__start` was being removed
tjbenton Feb 19, 2016
193d8e8
removed co as a dependency
tjbenton Feb 19, 2016
4bb8ba0
Updated to standards
tjbenton Feb 19, 2016
6d65535
Updated test cases
tjbenton Feb 22, 2016
15be4f3
created a better async mocha suite
tjbenton Feb 23, 2016
70046f0
:bugfix: for aliases
tjbenton Feb 23, 2016
72ea7d3
added the `comment.type` to the comment block
tjbenton Feb 23, 2016
db518b2
filters out any `null`, `undefined`
tjbenton Feb 23, 2016
312cada
added the raw option into the cli
tjbenton Feb 23, 2016
9c55c0c
Updated annotations, and annotation tests
tjbenton Feb 24, 2016
dfa4b60
Updated to fix issues with older versions of node
tjbenton Feb 24, 2016
1d83658
Fixed bug with config
tjbenton Feb 25, 2016
4acbdc4
Several changes
tjbenton Feb 26, 2016
33e9a5e
:bugfix: with the parser
tjbenton Feb 29, 2016
8dc4771
added test for config.js
tjbenton Feb 29, 2016
6489a61
fixed a bug with normalString
tjbenton Feb 29, 2016
dd4171a
added a few tools to help with the testing process
tjbenton Mar 1, 2016
002b0c9
Updated to use the clone package
tjbenton Mar 1, 2016
91c40f8
Updated to be 1 based instead of 0 based
tjbenton Mar 1, 2016
9ca50c2
Added the blank line functionality
tjbenton Mar 1, 2016
e64802f
added more test cases
tjbenton Mar 1, 2016
7071266
Updated markdown, coldfusion, and html end comment styles
tjbenton Mar 1, 2016
5a85dde
added `coffee`, `sh`, and `bash` comment styles
tjbenton Mar 1, 2016
b90b9a7
:bugfix: for multi line comments
tjbenton Mar 1, 2016
ca3a7ec
:bugfix: Prevents nested documentation comments from being parsed
tjbenton Mar 1, 2016
e9992c2
added tests for several different' filetypes
tjbenton Mar 1, 2016
c9b2841
added a new function to the `to` util
tjbenton Mar 2, 2016
2c06087
dependencies
tjbenton Mar 3, 2016
5937f07
Added documentation for the block info annotation
tjbenton Mar 3, 2016
3e5b7c0
:bugfix: for the @page annotation
tjbenton Mar 3, 2016
93019ab
Updated annotations api to have a single list function
tjbenton Mar 3, 2016
d80a1bd
:bugfix: getBlocks
tjbenton Mar 3, 2016
d7df9ba
added `resolve` functionality
tjbenton Mar 3, 2016
8096837
Updated the @markup annotation, and test cases
tjbenton Mar 3, 2016
6a9b466
Simplified the `only-body-comments` test
tjbenton Mar 3, 2016
36c639b
added more comments to the config file
tjbenton Mar 3, 2016
686fdeb
update the `to` util
tjbenton Mar 3, 2016
538c17c
:bugfix: replaceAliases
tjbenton Mar 3, 2016
54932ef
updated @state to be awesome
tjbenton Mar 4, 2016
61d512e
Seperated out the annotations to be in individual files
tjbenton Mar 4, 2016
0c22f5d
removed a missed comment
tjbenton Mar 4, 2016
11875af
fixed a bug with annotation exports
tjbenton Mar 4, 2016
facd5c3
added `@page` annotation to all the annotation files
tjbenton Mar 4, 2016
02c9abf
Updated markup and state to use file specific options for their regexes
tjbenton Mar 4, 2016
90e57f8
added more test cases for @state
tjbenton Mar 7, 2016
98a9b5e
Update the way options are passed to the parser
tjbenton Mar 7, 2016
2f6f5da
updated to use `languages` instead of `comments` in the config
tjbenton Mar 7, 2016
abe83d8
Updated logger to be a little better
tjbenton Mar 7, 2016
94d0140
Updated to support watching of files
tjbenton Mar 7, 2016
60b09d3
Updated parser to normalize the annotations comment and code contents
tjbenton Mar 8, 2016
d1bef19
added `to.random` function
tjbenton Mar 9, 2016
65f15b3
updated lots of shit
tjbenton Mar 10, 2016
75a97be
Updated debug function
tjbenton Mar 11, 2016
7e61493
Updated the debugger to be more helpful and extendable
tjbenton Mar 14, 2016
4244428
added tests for the `to.random` function
tjbenton Mar 14, 2016
ec38a2d
Updated the way options can be passed to the tokenizer
tjbenton Mar 14, 2016
68cdd85
Updated the debugging information
tjbenton Mar 14, 2016
c9d383d
Updated tokenizer with test cases
tjbenton Mar 14, 2016
9c3a96c
updated a few functions in the `to` lib
Mar 21, 2016
38aeaee
removed the debug information by default
Mar 21, 2016
ef773e6
Moved the setting of the options to be in it's own function
Mar 22, 2016
bc10417
made the `to.arguments` smarter
Mar 22, 2016
d88a7fb
Updated the annotation-api
Mar 24, 2016
ac071ec
updated the main parser to be awesome
Mar 24, 2016
791042c
Updated the tokenizer to use `line.str` instead of `line.line`
Mar 24, 2016
62b2bd0
added an `offset` option to the tokenizer
Mar 24, 2016
8b5f841
updated the markdown funtion to always convert the argument to a string.
Mar 24, 2016
d614d0f
Updated the config to use better options for the inline-comment option
Mar 24, 2016
6a3334c
added the indent option
Mar 24, 2016
d5538b8
added a property annotation
Mar 24, 2016
8aea528
Updated annotation regexes to be better because they're being reused
Mar 24, 2016
3bdf48a
updated eslint to include the `#` for inline commits
Mar 24, 2016
2b208cf
removed extra console.logs
Mar 24, 2016
6104991
Removed the old parser
tjbenton Mar 24, 2016
9aa47fb
added the new annotation-api
tjbenton Mar 24, 2016
7d88a09
renamed the parser folder
tjbenton Mar 24, 2016
3b6ec7e
added better error handling when calling an annotation
tjbenton Mar 24, 2016
474fe86
Updated the neccissary file to suppor the new parser
tjbenton Mar 24, 2016
d6a27a5
Updated the annotations and their tests
tjbenton Mar 24, 2016
de85fca
added a few new features to the `to` lib and cleaned up the rest
tjbenton Mar 28, 2016
eb2f2f5
cleaned up the sorter
tjbenton Mar 29, 2016
398af2d
fixed weird bug with String objects
tjbenton Mar 29, 2016
e4c0f1f
Updated tests
tjbenton Mar 29, 2016
a77b01d
Updated @state to work with inline comments
tjbenton Mar 31, 2016
a388679
updated tests to work with new package name
tjbenton May 5, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
{
"stage": 1
}
"presets": [
"es2015",
"stage-0"
],
"plugins": [
"syntax-async-functions",
"transform-async-to-generator",
"transform-decorators-legacy",
"transform-regenerator",
"transform-runtime"
]
}
204 changes: 204 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,204 @@
{
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"experimentalObjectRestSpread": true
},
"env": {
"node": true,
"mocha": true,
"es6": true
},
"parser": "babel-eslint",
"globals": {},
"plugins": [
"babel"
],
"rules": {
"babel/generator-star-spacing": [ 0, "before" ],
"generator-star-spacing": [ 0, "before" ],

"babel/new-cap": 2,
"new-cap": 0,

"babel/array-bracket-spacing": [ 2, "always" ],
"array-bracket-spacing": 0,

"babel/object-curly-spacing": [ 2, "always" ],
"object-curly-spacing": 0,

"babel/object-shorthand": [ 2, "always" ],
"object-shorthand": 0,

"babel/arrow-parens": [ 2, "always" ],
"arrow-parens": 0,

"babel/no-await-in-loop": 1,

"arrow-spacing": 2,
"block-scoped-var": 2,
"block-spacing": [ 2, "always" ],
"brace-style": [ 2, "1tbs" ],
"camelcase": [ 0, { "properties": "never" } ],
"comma-spacing": [ 2, { "before": false, "after": true } ],
"comma-style": [ 2, "last" ],
"complexity": [ 2, 12 ],
"computed-property-spacing": [ 2, "never" ],
"consistent-this": [ 2, "self" ],
"constructor-super": 2,
"curly": [ 2, "multi-line" ],
"default-case": 2,
"dot-location": [ 2, "property" ],
"dot-notation": [ 2, { "allowKeywords": true } ],
"eol-last": 2,
"eqeqeq": [ 2, "allow-null" ],
"func-names": 1,

"guard-for-in": 1,
"id-length": [
1,
{
"min": 2,
"max": 30,
"properties": "always",
"exceptions": [ "i", "k", "a", "b", "c", "d", "e", "l", "x", "y", "z", "_", "t" ]
}
],
"id-match": [ 2, "^(?:[a-z]{2,}([A-Z]{1}[a-z]+)*$)|([a-z_]+$)" ],
"indent": [ 2, 2 , { "SwitchCase": 1 } ],
"key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ],
"linebreak-style": [ 2, "unix" ],
"max-depth": [ 2, 5 ],
"max-len": [
2,
150,
2,
{
"ignoreUrls": true,
"ignorePattern": "^\\s*(var|const|let)\\s.+=\\s*(?:(?:[a-z.\\[\\]'\"]+\\s+\\+)|(?:'|\"))"
}
],
"max-nested-callbacks": [2, 3],
"max-params": [ 1, 4 ],
"max-statements": [ 1, 30 ],
"new-parens": 2,
"no-alert": 2,
"no-array-constructor": 2,
"no-bitwise": 0,
"no-caller": 2,
"no-catch-shadow": 2,
"no-class-assign": 2,
"no-cond-assign": [ 2, "except-parens" ],
"no-const-assign": 2,
"no-continue": 2,
"no-debugger": 2,
"no-delete-var": 2,
"no-div-regex": 2,
"no-dupe-class-members": 2,
"no-else-return": 2,
"no-empty": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-parens": 0,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-implied-eval": 2,
"no-invalid-this": 2,
"no-irregular-whitespace": 2,
"no-iterator": 2,
"no-label-var": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-lonely-if": 1,
"no-loop-func": 2,
"no-mixed-spaces-and-tabs": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-multiple-empty-lines": [ 2, { "max": 3, "maxEOF": 1 } ],
"no-native-reassign": 2,
"no-nested-ternary": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-new-wrappers": 2,
"no-new": 2,
"no-octal-escape": 2,
"no-octal": 2,
"no-proto": 2,
"no-redeclare": [ 2, { "builtinGlobals": true } ],
"no-regex-spaces": 2,
"no-restricted-syntax": [ 2, "WithStatement" ],
"no-return-assign": 2,
"no-script-url": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-shadow-restricted-names": 2,
"no-shadow": 2,
"no-spaced-func": 2,
"no-this-before-super": 2,
"no-throw-literal": 2,
"no-trailing-spaces": 2,
"no-undef-init": 2,
"no-undef": 2,
"no-unneeded-ternary": 2,
"no-unused-expressions": [ 2, { "allowShortCircuit": true, "allowTernary": true } ],
"no-unused-vars": 2,
"no-use-before-define": 0,
"no-useless-call": 2,
"no-useless-concat": 2,
"no-var": 0,
"no-void": 2,
"no-warning-comments": [ 1, { "terms": [ "@todo", "@fix", "@fixme" ], "location": "start" } ],
"no-with": 2,
"one-var": [ 2, { "uninitialized": "always", "initialized": "never" } ],
"operator-assignment": [ 2, "always" ],
"operator-linebreak": [ 2, "after" ],
"padded-blocks": [ 2, "never" ],
"prefer-arrow-callback": 2,
"prefer-const": 0,
"prefer-spread": 2,
"prefer-template": 0,
"quote-props": [ 2, "as-needed" ],
"quotes": [ 2, "single", "avoid-escape" ],
"require-yield": 2,
"semi-spacing": 2,
"semi": [ 1, "never" ],
"no-extra-semi": [ 1 ],
"keyword-spacing": [ 2, { "before": true, "after": true, "overrides": {} } ],
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, "never" ],
"space-in-parens": [ 2, "never" ],
"space-infix-ops": [ 2, { "int32Hint": true } ],
"space-unary-ops": 2,
"spaced-comment": [
2,
"always",
{
"line": { "markers": [ "/", "/#" ], "exceptions": [ "-", "+", "/", "#" ] },
"block": { "markers": [ "!", "*#" ], "exceptions": [ "*", "#" ] }
}
],
"valid-typeof": 2,
"wrap-iife": [ 2, "inside" ],
"yoda": 2
}
}
14 changes: 8 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
node_modules/
**/nmp-debug.log
build/
build.zip
node_modules
bower_components
jspm_packages
dist
.tmp
.DS_Store
.sass-cache
bower_components/
npm-debug.log
*.map
docs/docs.json
docs/docs.json
coverage
.nyc_output
95 changes: 0 additions & 95 deletions .jscsrc

This file was deleted.

26 changes: 26 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"esversion": 6,
"mocha": true,
"node": true,
"curly": false,
"eqeqeq": true,
"forin": true,
"immed": true,
"freeze": true,
"funcscope": true,
"futurehostile": true,
"latedef": false,
"newcap": true,
"noarg": true,
"sub": true,
"undef": true,
"varstmt": true,
"asi": true,
"unused": true,
"boss": true,
"eqnull": true,
"loopfunc": true,
"globals": [
"define"
]
}
16 changes: 15 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
tests/
tests/
tools/
app/
coverage/
.coveralls.yml
.travis.yml
.gitignore
.jscsrc
.jshintrc
.eslintrc
.babelrc
**/.DS_Store
.DS_Store
.tmp
.nyc_output
Loading