diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 3f94a5e..0000000 --- a/.eslintignore +++ /dev/null @@ -1,7 +0,0 @@ -build/ -components/ -coverage/ -build.js -example.js -unist-util-visit-children.js -unist-util-visit-children.min.js diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 4426f37..0000000 --- a/.eslintrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "eslint:recommended", - "rules": { - "quotes": [2, "single"] - } -} diff --git a/.gitignore b/.gitignore index a22e55e..f2e7571 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .DS_Store *.log -build/ -components/ coverage/ node_modules/ -build.js +unist-util-visit-children.js +unist-util-visit-children.min.js diff --git a/.jscs.json b/.jscs.json deleted file mode 100644 index fb46416..0000000 --- a/.jscs.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "excludeFiles": [ - "build/", - "components/", - "coverage/", - "node_modules/", - "build.js", - "example.js", - "unist-util-visit-children.js", - "unist-util-visit-children.min.js" - ], - "jsDoc": { - "checkAnnotations": "jsdoc3", - "checkParamNames": true, - "checkRedundantAccess": true, - "checkRedundantParams": true, - "checkRedundantReturns": true, - "checkReturnTypes": true, - "checkTypes": "strictNativeCase", - "enforceExistence": true, - "requireHyphenBeforeDescription": true, - "requireNewlineAfterDescription": true, - "requireParamTypes": true, - "requireParamDescription": true, - "requireReturnTypes": true - }, - "requireCurlyBraces": [ - "if", - "else", - "for", - "while", - "do", - "try", - "catch" - ], - "requireSpaceAfterKeywords": [ - "if", - "else", - "for", - "while", - "do", - "switch", - "return", - "try", - "catch" - ], - "requireSpaceBeforeBlockStatements": true, - "requireParenthesesAroundIIFE": true, - "requireSpacesInConditionalExpression": true, - "requireSpacesInFunctionExpression": { - "beforeOpeningCurlyBrace": true - }, - "requireSpacesInAnonymousFunctionExpression": { - "beforeOpeningRoundBrace": true, - "beforeOpeningCurlyBrace": true - }, - "requireSpacesInNamedFunctionExpression": { - "beforeOpeningRoundBrace": true, - "beforeOpeningCurlyBrace": true - }, - "requireBlocksOnNewline": true, - "disallowEmptyBlocks": true, - "disallowSpacesInsideObjectBrackets": true, - "disallowSpacesInsideArrayBrackets": true, - "disallowSpacesInsideParentheses": true, - "requireSpacesInsideObjectBrackets": "all", - "disallowDanglingUnderscores": true, - "disallowSpaceAfterObjectKeys": true, - "requireCommaBeforeLineBreak": true, - "requireOperatorBeforeLineBreak": [ - "?", - "+", - "-", - "/", - "*", - "=", - "==", - "===", - "!=", - "!==", - ">", - ">=", - "<", - "<=" - ], - "requireSpaceBeforeBinaryOperators": [ - "+", - "-", - "/", - "*", - "=", - "==", - "===", - "!=", - "!==" - ], - "requireSpaceAfterBinaryOperators": [ - "+", - "-", - "/", - "*", - "=", - "==", - "===", - "!=", - "!==" - ], - "disallowSpaceAfterPrefixUnaryOperators": [ - "++", - "--", - "+", - "-", - "~", - "!" - ], - "disallowSpaceBeforePostfixUnaryOperators": [ - "++", - "--" - ], - "disallowImplicitTypeConversion": [ - "numeric", - "boolean", - "binary", - "string" - ], - "requireCamelCaseOrUpperCaseIdentifiers": true, - "disallowKeywords": [ - "with" - ], - "disallowMultipleLineStrings": true, - "disallowMultipleLineBreaks": true, - "validateLineBreaks": "LF", - "validateQuoteMarks": "'", - "disallowMixedSpacesAndTabs": true, - "disallowTrailingWhitespace": true, - "disallowTrailingComma": true, - "disallowKeywordsOnNewLine": [ - "else" - ], - "requireLineFeedAtFileEnd": true, - "requireCapitalizedConstructors": true, - "safeContextKeyword": "self", - "requireDotNotation": true, - "disallowYodaConditions": true -} diff --git a/.mdastignore b/.mdastignore deleted file mode 100644 index fa6c91f..0000000 --- a/.mdastignore +++ /dev/null @@ -1,2 +0,0 @@ -# Dependencies. -components/ diff --git a/.mdastrc b/.mdastrc deleted file mode 100644 index 3fff46a..0000000 --- a/.mdastrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "output": true, - "plugins": [ - "comment-config", - "github", - "slug", - "validate-links" - ], - "settings": { - "bullet": "*" - } -} diff --git a/bower.json b/bower.json deleted file mode 100644 index 4975ac6..0000000 --- a/bower.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "unist-util-visit-children", - "main": "unist-util-visit-children.js", - "description": "Unist utility to visit direct children of a parent", - "license": "MIT", - "keywords": [ - "unist", - "retext", - "nlcst", - "mdast", - "util", - "utility", - "visit", - "children" - ], - "repository": { - "type": "git", - "url": "https://github.com/wooorm/unist-util-visit-children.git" - }, - "authors": [ - "Titus Wormer " - ], - "ignore": [ - ".*", - "*.log", - "*.md", - "build/", - "components/", - "coverage/", - "node_modules/", - "build.js", - "example.js", - "index.js", - "test.js", - "component.json", - "package.json" - ] -} diff --git a/component.json b/component.json deleted file mode 100644 index 5516fde..0000000 --- a/component.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "unist-util-visit-children", - "version": "1.0.0", - "description": "Unist utility to visit direct children of a parent", - "license": "MIT", - "keywords": [ - "unist", - "retext", - "nlcst", - "mdast", - "util", - "utility", - "visit", - "children" - ], - "repository": "wooorm/unist-util-visit-children", - "scripts": [ - "index.js" - ] -} diff --git a/history.md b/history.md deleted file mode 100644 index 61d4f75..0000000 --- a/history.md +++ /dev/null @@ -1,6 +0,0 @@ - - - - -1.0.0 / 2015-08-23 -================== diff --git a/unist-util-visit-children.js b/unist-util-visit-children.js deleted file mode 100644 index 9b86018..0000000 --- a/unist-util-visit-children.js +++ /dev/null @@ -1,59 +0,0 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.unistUtilVisitChildren = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o