├── .editorconfig ├── .gitattributes ├── .gitignore ├── .jscsrc ├── .jshintrc ├── .travis.yml ├── CONTRIBUTING.md ├── Gruntfile.js ├── LICENSE-MIT ├── MAINTAN.md ├── README.md ├── package.json ├── tasks ├── jscs.js └── lib │ └── jscs.js └── test ├── configs ├── .jscsrc ├── empty.json ├── example.json ├── fail.json ├── merge.json ├── package.json └── success.json ├── enmasse.js ├── enmasse ├── .jscsrc └── Gruntfile.js ├── fixtures ├── broken.js ├── dot │ ├── first-level.js │ └── second-level │ │ └── second-level.js ├── exclude.js ├── fixable.source.js ├── fixture.js ├── merge.js └── only-inline.js ├── methods.js ├── rules └── rule.js └── test-reporter.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * eol=lf 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/.gitignore -------------------------------------------------------------------------------- /.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "idiomatic" 3 | } 4 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/.jshintrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/Gruntfile.js -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /MAINTAN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/MAINTAN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/package.json -------------------------------------------------------------------------------- /tasks/jscs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/tasks/jscs.js -------------------------------------------------------------------------------- /tasks/lib/jscs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/tasks/lib/jscs.js -------------------------------------------------------------------------------- /test/configs/.jscsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/configs/.jscsrc -------------------------------------------------------------------------------- /test/configs/empty.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /test/configs/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "example": "test" 3 | } 4 | -------------------------------------------------------------------------------- /test/configs/fail.json: -------------------------------------------------------------------------------- 1 | { 2 | "requireCurlyBraces": [ "while" ] 3 | } 4 | -------------------------------------------------------------------------------- /test/configs/merge.json: -------------------------------------------------------------------------------- 1 | { 2 | "requireCurlyBraces": [ "test" ] 3 | } 4 | -------------------------------------------------------------------------------- /test/configs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/configs/package.json -------------------------------------------------------------------------------- /test/configs/success.json: -------------------------------------------------------------------------------- 1 | { 2 | "requireCurlyBraces": [ "test" ] 3 | } 4 | -------------------------------------------------------------------------------- /test/enmasse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/enmasse.js -------------------------------------------------------------------------------- /test/enmasse/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "disallowKeywords": [ "while" ] 3 | } 4 | -------------------------------------------------------------------------------- /test/enmasse/Gruntfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/enmasse/Gruntfile.js -------------------------------------------------------------------------------- /test/fixtures/broken.js: -------------------------------------------------------------------------------- 1 | ( function ( global ) { 2 | 3 | 'use strict'; -------------------------------------------------------------------------------- /test/fixtures/dot/first-level.js: -------------------------------------------------------------------------------- 1 | with ({}) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/dot/second-level/second-level.js: -------------------------------------------------------------------------------- 1 | with ({}) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/exclude.js: -------------------------------------------------------------------------------- 1 | while(false); 2 | -------------------------------------------------------------------------------- /test/fixtures/fixable.source.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/fixtures/fixable.source.js -------------------------------------------------------------------------------- /test/fixtures/fixture.js: -------------------------------------------------------------------------------- 1 | while (false); 2 | -------------------------------------------------------------------------------- /test/fixtures/merge.js: -------------------------------------------------------------------------------- 1 | while (false); 2 | -------------------------------------------------------------------------------- /test/fixtures/only-inline.js: -------------------------------------------------------------------------------- 1 | while (false) {}; 2 | -------------------------------------------------------------------------------- /test/methods.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/methods.js -------------------------------------------------------------------------------- /test/rules/rule.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/rules/rule.js -------------------------------------------------------------------------------- /test/test-reporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jscs-dev/grunt-jscs/HEAD/test/test-reporter.js --------------------------------------------------------------------------------