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

Commit 90cb24e

Browse files
committed
chore: add jshint eqeqeq for src/ files
Add jshint "eqeqeq" and "eqnull" rules (to allow == null comparisons). Only adds it to files under src/, because we these files are unit-tested. Files in src/ngLocale are excluded, because the code is imported. Closes #14287
1 parent 4487d4a commit 90cb24e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/.jshintrc

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"extends": "../.jshintrc-base",
33
"browser": true,
4+
"eqeqeq": true,
5+
"eqnull": true,
46
"globals": {
57
/* auto/injector.js */
68
"createInjector": false,

src/ngLocale/.jshintrc

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "../../.jshintrc-base",
33
"bitwise": false, /* locale files use bitwise operators */
44
"maxlen": false, /* locale files are generated from a 3rd party library that has long lines */
5+
"eqeqeq": false,
56
"browser": true,
67
"globals": {
78
"angular": false

0 commit comments

Comments
 (0)