Skip to content

Commit a9b00d3

Browse files
committed
Use two spaces instead of tabs everywhere
1 parent 244cbad commit a9b00d3

File tree

10 files changed

+784
-784
lines changed

10 files changed

+784
-784
lines changed

.jshintrc

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"curly": true,
3-
"eqeqeq": true,
4-
"immed": true,
5-
"latedef": true,
6-
"newcap": true,
7-
"noarg": true,
8-
"sub": true,
9-
"undef": true,
10-
"unused": true,
11-
"boss": true,
12-
"eqnull": true,
13-
"smarttabs": true,
14-
"node": true,
15-
"browser": true,
16-
"laxcomma": true,
17-
"globals": {
18-
"describe": true,
19-
"before": true,
20-
"beforeEach": true,
21-
"after": true,
22-
"afterEach": true,
23-
"it": true,
24-
"tv4": true,
25-
"define": true,
26-
"chai": true,
27-
"assert": true
28-
}
29-
}
2+
"curly": true,
3+
"eqeqeq": true,
4+
"immed": true,
5+
"latedef": true,
6+
"newcap": true,
7+
"noarg": true,
8+
"sub": true,
9+
"undef": true,
10+
"unused": true,
11+
"boss": true,
12+
"eqnull": true,
13+
"smarttabs": true,
14+
"node": true,
15+
"browser": true,
16+
"laxcomma": true,
17+
"globals": {
18+
"describe": true,
19+
"before": true,
20+
"beforeEach": true,
21+
"after": true,
22+
"afterEach": true,
23+
"it": true,
24+
"tv4": true,
25+
"define": true,
26+
"chai": true,
27+
"assert": true
28+
}
29+
}

Gruntfile.js

Lines changed: 95 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,104 @@
11
module.exports = function (grunt) {
2-
'use strict';
2+
'use strict';
33

4-
/* jshint -W107 */
4+
/* jshint -W107 */
55

6-
grunt.loadNpmTasks('grunt-mocha-test');
7-
grunt.loadNpmTasks('grunt-mocha');
8-
grunt.loadNpmTasks('grunt-contrib-jshint');
9-
grunt.loadNpmTasks('grunt-continue');
10-
grunt.loadNpmTasks('grunt-bump');
6+
grunt.loadNpmTasks('grunt-mocha-test');
7+
grunt.loadNpmTasks('grunt-mocha');
8+
grunt.loadNpmTasks('grunt-contrib-jshint');
9+
grunt.loadNpmTasks('grunt-continue');
10+
grunt.loadNpmTasks('grunt-bump');
1111

12-
grunt.initConfig({
13-
pkg: grunt.file.readJSON('package.json'),
14-
jshint: {
15-
all: [
16-
'Gruntfile.js',
17-
'index.js',
18-
'test/*.js',
19-
],
20-
options: {
21-
reporter: './node_modules/jshint-path-reporter',
22-
jshintrc: '.jshintrc'
23-
}
24-
},
25-
bump: {
26-
options: {
27-
files: ['package.json', 'bower.json'],
28-
updateConfigs: [],
29-
commit: true,
30-
commitMessage: 'release v%VERSION%',
31-
commitFiles: ['-a'],
32-
createTag: true,
33-
tagName: '%VERSION%',
34-
tagMessage: 'release %VERSION%',
35-
push: false,
36-
pushTo: 'upstream',
37-
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d' // options to use with '$ git describe'
38-
}
39-
},
40-
mochaTest: {
41-
options: {
42-
reporter: 'mocha-unfunk-reporter'
43-
},
44-
pass: {
45-
src: ['test/suite.js']
46-
},
47-
fail : {
48-
options: {
49-
reporter: 'mocha-unfunk-reporter'
50-
},
51-
src: ['test/fail.js']
52-
}
53-
},
54-
mocha: {
55-
options: {
56-
bail: true,
57-
log: true,
58-
mocha: {
59-
ignoreLeaks: false
60-
},
61-
reporter: 'mocha-unfunk-reporter',
62-
run: true
63-
},
64-
pass: {
65-
src: ['test/pass.html']
66-
},
67-
pass_amd: {
68-
options: {
69-
run: false
70-
},
71-
src: ['test/pass-amd.html']
72-
},
73-
fail: {
74-
src: ['test/fail.html']
75-
},
76-
fail_spec : {
77-
options: {
78-
reporter: 'Spec'
79-
},
80-
src: ['test/fail.html']
81-
},
82-
fail_amd : {
83-
options: {
84-
run: false
85-
},
86-
src: ['test/fail-amd.html']
87-
}
88-
}
89-
});
12+
grunt.initConfig({
13+
pkg: grunt.file.readJSON('package.json'),
14+
jshint: {
15+
all: [
16+
'Gruntfile.js',
17+
'index.js',
18+
'test/*.js',
19+
],
20+
options: {
21+
reporter: './node_modules/jshint-path-reporter',
22+
jshintrc: '.jshintrc'
23+
}
24+
},
25+
bump: {
26+
options: {
27+
files: ['package.json', 'bower.json'],
28+
updateConfigs: [],
29+
commit: true,
30+
commitMessage: 'release v%VERSION%',
31+
commitFiles: ['-a'],
32+
createTag: true,
33+
tagName: '%VERSION%',
34+
tagMessage: 'release %VERSION%',
35+
push: false,
36+
pushTo: 'upstream',
37+
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d' // options to use with '$ git describe'
38+
}
39+
},
40+
mochaTest: {
41+
options: {
42+
reporter: 'mocha-unfunk-reporter'
43+
},
44+
pass: {
45+
src: ['test/suite.js']
46+
},
47+
fail : {
48+
options: {
49+
reporter: 'mocha-unfunk-reporter'
50+
},
51+
src: ['test/fail.js']
52+
}
53+
},
54+
mocha: {
55+
options: {
56+
bail: true,
57+
log: true,
58+
mocha: {
59+
ignoreLeaks: false
60+
},
61+
reporter: 'mocha-unfunk-reporter',
62+
run: true
63+
},
64+
pass: {
65+
src: ['test/pass.html']
66+
},
67+
pass_amd: {
68+
options: {
69+
run: false
70+
},
71+
src: ['test/pass-amd.html']
72+
},
73+
fail: {
74+
src: ['test/fail.html']
75+
},
76+
fail_spec : {
77+
options: {
78+
reporter: 'Spec'
79+
},
80+
src: ['test/fail.html']
81+
},
82+
fail_amd : {
83+
options: {
84+
run: false
85+
},
86+
src: ['test/fail-amd.html']
87+
}
88+
}
89+
});
9090

91-
grunt.registerTask('pass', ['mochaTest:pass', 'mocha:pass', 'mocha:pass_amd']);
92-
grunt.registerTask('fail', ['mochaTest:fail', 'mocha:fail', 'mocha:fail_amd']);
91+
grunt.registerTask('pass', ['mochaTest:pass', 'mocha:pass', 'mocha:pass_amd']);
92+
grunt.registerTask('fail', ['mochaTest:fail', 'mocha:fail', 'mocha:fail_amd']);
9393

94-
grunt.registerTask('run', ['build', 'mochaTest']);
95-
grunt.registerTask('dev', ['build', 'continueOn','mocha:fail', 'continueOff', 'mocha:pass']);
94+
grunt.registerTask('run', ['build', 'mochaTest']);
95+
grunt.registerTask('dev', ['build', 'continueOn','mocha:fail', 'continueOff', 'mocha:pass']);
9696

97-
grunt.registerTask('edit_01', ['build', 'mochaTest:pass']);
98-
grunt.registerTask('edit_02', ['build', 'mochaTest:fail']);
99-
grunt.registerTask('edit_03', ['build', 'mocha:fail']);
97+
grunt.registerTask('edit_01', ['build', 'mochaTest:pass']);
98+
grunt.registerTask('edit_02', ['build', 'mochaTest:fail']);
99+
grunt.registerTask('edit_03', ['build', 'mocha:fail']);
100100

101-
grunt.registerTask('test', ['build', 'pass', 'continueOn', 'fail', 'continueOff']);
102-
grunt.registerTask('build', ['jshint']);
103-
grunt.registerTask('default', ['test']);
101+
grunt.registerTask('test', ['build', 'pass', 'continueOn', 'fail', 'continueOff']);
102+
grunt.registerTask('build', ['jshint']);
103+
grunt.registerTask('default', ['test']);
104104
};

bower.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "chai-json-schema",
3-
"version": "1.2.0",
4-
"main": "index.js",
5-
"ignore": [
6-
"**/.*",
7-
"Gruntfile.js",
8-
"package.json",
9-
"node_modules",
10-
"test/"
11-
],
12-
"dependencies": {
13-
"tv4": "~1.1.9",
14-
"jsonpointer.js": "~0.3.0"
15-
}
2+
"name": "chai-json-schema",
3+
"version": "1.2.0",
4+
"main": "index.js",
5+
"ignore": [
6+
"**/.*",
7+
"Gruntfile.js",
8+
"package.json",
9+
"node_modules",
10+
"test/"
11+
],
12+
"dependencies": {
13+
"tv4": "~1.1.9",
14+
"jsonpointer.js": "~0.3.0"
15+
}
1616
}

0 commit comments

Comments
 (0)