Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Unsupported rules #140

Closed
landau opened this issue Jan 5, 2014 · 4 comments
Closed

Unsupported rules #140

landau opened this issue Jan 5, 2014 · 4 comments

Comments

@landau
Copy link

landau commented Jan 5, 2014

I copied, pasted, and modified the example found in the jscs README. However, after I run jscs I get this error:

Error: Unsupported rules: requireParenthesesAroundIIFE, disallowEmptyBlocks, requireCommaBeforeLineBreak, requireOperatorBeforeLineBreak, requireCamelCaseOrUpperCaseIdentifiers, validateQuoteMarks, validateIndentation, disallowMixedSpacesAndTabs, disallowTrailingWhitespace, maximumLineLength, requireCapitalizedConstructors, requireDotNotation
    at StringChecker.configure (/Users/tlandau/oss/is/node_modules/jscs/lib/string-checker.js:113:19)
    at Checker.configure (/Users/tlandau/oss/is/node_modules/jscs/lib/checker.js:45:39)
    at Object.<anonymous> (/Users/tlandau/oss/is/node_modules/jscs/lib/cli.js:40:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/tlandau/oss/is/node_modules/jscs/bin/jscs:2:1)

oss/is [master●] » ./node_modules/.bin/jscs --version
1.1.0
@nschonni
Copy link
Contributor

nschonni commented Jan 5, 2014

There have been a bunch of rules added by @mikesherov recently, so they are in the README, but not in the NPM release yet

@landau
Copy link
Author

landau commented Jan 5, 2014

Good to know. Thanks.

@landau landau closed this as completed Jan 5, 2014
@nschonni
Copy link
Contributor

nschonni commented Jan 5, 2014

I think https://github.com/mdevils/node-jscs/blob/master/.jscs.json should be safe if you're looking for a starter file

@landau
Copy link
Author

landau commented Jan 6, 2014

Nice. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants