Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 26b5ffb

Browse files
committed
easy linting via npm run lint
1 parent 4bf2d84 commit 26b5ffb

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ cldr/
99

1010
# d8 artifact
1111
.d8_history
12+
13+
# NPM packages installed locally
14+
node_modules

Intl.js

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* CLDR format locale data should be provided using Intl.__addLocaleData().
1010
*/
1111
/*jshint proto:true, eqnull:true, boss:true, laxbreak:true, newcap:false, shadow:true, funcscope:true */
12+
/*globals define, exports, module, window*/
1213

1314
(function (root, factory) {
1415
if (root && root.Intl) {

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
"description": "polyfill the ECMA-402 Intl API (except collation)",
55
"main": "Intl.js",
66
"directories": {
7+
"lint": "jshint Intl.js",
78
"test": "tests"
89
},
10+
"devDependencies": {
11+
"jshint": "~2.3.0"
12+
},
913
"scripts": {
1014
"test": "cd tests && ./run402"
1115
},

0 commit comments

Comments
 (0)