Skip to content

Commit b10f7b7

Browse files
author
M Parker
committed
As of recent versions of D8, a Drupal plugin for eslint is no longer required.
1 parent 88d2f0c commit b10f7b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-commit/2-js-style.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function test_file {
2121
# Note there's an alternative that works with older versions of eslint at
2222
# https://coderwall.com/p/zq8jlq/eslint-pre-commit-hook
2323
# See also http://eslint.org/docs/integrations/
24-
eslint --plugin drupal "$file"
24+
eslint "$file"
2525
set -e
2626
else
2727
echo "Can't run JS style linter because the eslint executable isn't in the PATH."

0 commit comments

Comments
 (0)