Skip to content

Commit 72ebae5

Browse files
committed
New rule: Disallow string concatenation when using __dirname and __filename (no-path-concat)
Fixes #403 http://eslint.org/docs/2.0.0/rules/no-path-concat
1 parent 3c0cef7 commit 72ebae5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"no-obj-calls": 2,
9191
"no-octal": 2,
9292
"no-octal-escape": 2,
93+
"no-path-concat": 2,
9394
"no-proto": 2,
9495
"no-redeclare": 2,
9596
"no-regex-spaces": 2,

0 commit comments

Comments
 (0)