dale-chall
Advanced tools
Comparing version 0.0.1 to 0.1.0
260
.jscs.json
{ | ||
"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 | ||
}, | ||
"requireSpacesInFunctionExpression": { | ||
"beforeOpeningCurlyBrace": true | ||
}, | ||
"requireMultipleVarDecl": true, | ||
"requireBlocksOnNewline": true, | ||
"disallowPaddingNewlinesInBlocks": true, | ||
"disallowEmptyBlocks": true, | ||
"disallowSpacesInsideObjectBrackets": true, | ||
"disallowSpacesInsideArrayBrackets": true, | ||
"disallowSpacesInsideParentheses": true, | ||
"requireSpacesInsideObjectBrackets": "all", | ||
"disallowDanglingUnderscores": true, | ||
"requireSpaceAfterObjectKeys": true, | ||
"requireCommaBeforeLineBreak": true, | ||
"requireOperatorBeforeLineBreak": [ | ||
"?", | ||
"+", | ||
"-", | ||
"/", | ||
"*", | ||
"=", | ||
"==", | ||
"===", | ||
"!=", | ||
"!==", | ||
">", | ||
">=", | ||
"<", | ||
"<=" | ||
], | ||
"requireSpaceBeforeBinaryOperators": [ | ||
"=", | ||
",", | ||
"+", | ||
"-", | ||
"/", | ||
"*", | ||
"==", | ||
"===", | ||
"!=", | ||
"!==" | ||
], | ||
"requireSpaceAfterBinaryOperators": [ | ||
"=", | ||
",", | ||
"+", | ||
"-", | ||
"/", | ||
"*", | ||
"==", | ||
"===", | ||
"!=", | ||
"!==" | ||
], | ||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], | ||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], | ||
"requireSpaceBeforeBinaryOperators": [ | ||
"+", | ||
"-", | ||
"/", | ||
"*", | ||
"=", | ||
"==", | ||
"===", | ||
"!=", | ||
"!==" | ||
], | ||
"requireSpaceAfterBinaryOperators": [ | ||
"+", | ||
"-", | ||
"/", | ||
"*", | ||
"=", | ||
"==", | ||
"===", | ||
"!=", | ||
"!==" | ||
], | ||
"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, | ||
"maximumLineLength": 78, | ||
"requireCapitalizedConstructors": true, | ||
"safeContextKeyword": "self", | ||
"requireDotNotation": true, | ||
"disallowYodaConditions": true, | ||
"validateJSDoc": { | ||
"checkParamNames": true, | ||
"checkRedundantParams": true, | ||
"requireParamTypes": 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 | ||
}, | ||
"requireMultipleVarDecl": true, | ||
"requireBlocksOnNewline": true, | ||
"disallowPaddingNewlinesInBlocks": true, | ||
"disallowEmptyBlocks": true, | ||
"disallowSpacesInsideObjectBrackets": true, | ||
"disallowSpacesInsideArrayBrackets": true, | ||
"disallowSpacesInsideParentheses": true, | ||
"requireSpacesInsideObjectBrackets": "all", | ||
"disallowDanglingUnderscores": true, | ||
"requireSpaceAfterObjectKeys": 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, | ||
"maximumLineLength": 78, | ||
"requireCapitalizedConstructors": true, | ||
"safeContextKeyword": "self", | ||
"requireDotNotation": true, | ||
"disallowYodaConditions": true, | ||
"validateJSDoc": { | ||
"checkParamNames": true, | ||
"checkRedundantParams": true, | ||
"requireParamTypes": true | ||
} | ||
} |
@@ -13,3 +13,3 @@ { | ||
"dependencies": { | ||
"datalist-interface": "~0.0.1" | ||
"datalist-interface": "^0.0.1" | ||
}, | ||
@@ -27,2 +27,4 @@ "repository": { | ||
"*.md", | ||
"components", | ||
"build", | ||
"component.json", | ||
@@ -32,4 +34,6 @@ "package.json", | ||
"node_modules", | ||
"data/dale-chall.txt", | ||
"script", | ||
"spec" | ||
] | ||
} |
{ | ||
"name": "dale-chall", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "List of familiar American-English words: The New Dale-Chall (1995)", | ||
@@ -13,4 +13,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"wooorm/datalist-interface": "~0.0.1" | ||
} | ||
"wooorm/datalist-interface": "0.0.1" | ||
}, | ||
"repository": "wooorm/dale-chall", | ||
@@ -17,0 +17,0 @@ "scripts": [ |
{ | ||
"name": "dale-chall", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "List of familiar American-English words: The New Dale-Chall (1995)", | ||
@@ -13,4 +13,8 @@ "license": "MIT", | ||
"dependencies": { | ||
"datalist-interface": "0.0.1" | ||
"datalist-interface": "^0.0.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wooorm/dale-chall.git" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com>", | ||
@@ -25,6 +29,2 @@ "devDependencies": { | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wooorm/dale-chall.git" | ||
}, | ||
"scripts": { | ||
@@ -34,10 +34,8 @@ "test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports spec/dale-chall.spec.js", | ||
"lint": "npm run lint-api && npm run lint-test && npm run lint-style", | ||
"lint-api": "node_modules/.bin/eslint index.js scrape-data.js build-data.js build-supported-words.js --env node --env browser --rule 'quotes: [2, single]'", | ||
"lint-api": "node_modules/.bin/eslint index.js script/scrape-data.js script/build-data.js script/build-supported-words.js --env node --env browser --rule 'quotes: [2, single]'", | ||
"lint-test": "node_modules/.bin/eslint spec/dale-chall.spec.js --env node --env mocha --rule 'quotes: [2, single]'", | ||
"lint-style": "node_modules/.bin/jscs index.js scrape-data.js build-data.js build-supported-words.js spec/dale-chall.spec.js --reporter=inline", | ||
"install-browser-test": "npm install browserify", | ||
"scrape-data": "node scrape-data.js", | ||
"build-data": "node build-data.js", | ||
"build-supported-words": "node build-supported-words.js", | ||
"build-browser-test": "node_modules/.bin/browserify spec/dale-chall.spec.js -o spec/browser.spec.js", | ||
"lint-style": "node_modules/.bin/jscs index.js script/scrape-data.js script/build-data.js script/build-supported-words.js spec/dale-chall.spec.js --reporter=inline", | ||
"scrape-data": "node script/scrape-data.js", | ||
"build-data": "node script/build-data.js", | ||
"build-supported-words": "node script/build-supported-words.js", | ||
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- spec/dale-chall.spec.js", | ||
@@ -44,0 +42,0 @@ "prepublish": "npm run scrape-data && npm run build-data && npm run build-supported-words", |
@@ -45,4 +45,9 @@ # dale-chall [![Build Status](https://travis-ci.org/wooorm/dale-chall.svg?branch=master)](https://travis-ci.org/wooorm/dale-chall) [![Coverage Status](https://img.shields.io/coveralls/wooorm/dale-chall.svg)](https://coveralls.io/r/wooorm/dale-chall?branch=master) | ||
## Related | ||
- [spache](https://github.com/wooorm/spache) — Another list of familiar words; | ||
- [dale-chall-formula](https://github.com/wooorm/dale-chall-formula) — Formula to detect the reading level, using this list. | ||
## License | ||
MIT © Titus Wormer |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53
82406
15
323
Updateddatalist-interface@^0.0.1