Skip to content

Commit 6b1625e

Browse files
motet-akemitchell
authored andcommitted
Enable strict mode
...with 'use strict' directives.
1 parent c73dc0e commit 6b1625e

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
var scan = require('./scan')
24
var parse = require('./parse')
35

parse.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
// The ABNF grammar in the spec is totally ambiguous.
24
//
35
// This parser follows the operator precedence defined in the

scan.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
var licenses = require('spdx-license-ids')
24
var exceptions = require('spdx-exceptions')
35

test/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
/* global it */
24

35
var assert = require('assert')

0 commit comments

Comments
 (0)