Skip to content

Commit 354913c

Browse files
Add eslint-comments plugin (codeclimate#431)
1 parent e79d287 commit 354913c

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: image test citest integration yarn.lock
1+
.PHONY: image test citest integration yarn.lock yarn.add
22

33
IMAGE_NAME ?= codeclimate/codeclimate-eslint
44

@@ -26,6 +26,12 @@ test: yarn.lock
2626
--workdir /usr/src/app \
2727
$(IMAGE_NAME) npm run $(NPM_TEST_TARGET)
2828

29+
yarn.add:
30+
docker run -ti --rm \
31+
-v $(PWD):/usr/src/app \
32+
--workdir /usr/src/app \
33+
$(IMAGE_NAME) yarn add $(ARGS)
34+
2935
citest:
3036
docker run --rm \
3137
--workdir /usr/src/app \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ available in the container.
132132
* eslint-plugin-drupal
133133
* eslint-plugin-ember
134134
* eslint-plugin-es5
135+
* eslint-plugin-eslint-comments
135136
* eslint-plugin-flowtype
136137
* eslint-plugin-html
137138
* eslint-plugin-import

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"eslint-plugin-drupal": "^0.3.1",
5050
"eslint-plugin-ember": "^5.2.0",
5151
"eslint-plugin-es5": "^1.2.0",
52+
"eslint-plugin-eslint-comments": "^3.0.1",
5253
"eslint-plugin-flowtype": "^3.0.0",
5354
"eslint-plugin-html": "^4.0.6",
5455
"eslint-plugin-import": "^2.13.0",

yarn.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,13 @@ eslint-plugin-es@^1.3.1:
17101710
eslint-utils "^1.3.0"
17111711
regexpp "^2.0.0"
17121712

1713+
eslint-plugin-eslint-comments@^3.0.1:
1714+
version "3.0.1"
1715+
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-3.0.1.tgz#baafb713584c0de7ee588710720e580bcc28cfbb"
1716+
dependencies:
1717+
escape-string-regexp "^1.0.5"
1718+
ignore "^3.3.8"
1719+
17131720
eslint-plugin-flowtype@2.35.1:
17141721
version "2.35.1"
17151722
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.35.1.tgz#9ad98181b467a3645fbd2a8d430393cc17a4ea63"
@@ -2704,7 +2711,7 @@ ignore-walk@^3.0.1:
27042711
dependencies:
27052712
minimatch "^3.0.4"
27062713

2707-
ignore@^3.2.0:
2714+
ignore@^3.2.0, ignore@^3.3.8:
27082715
version "3.3.10"
27092716
resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043"
27102717

0 commit comments

Comments
 (0)