Skip to content

Commit 69b6f1d

Browse files
committed
eslint: switch to GNOME Shell's eslintrc
1 parent 2a8623f commit 69b6f1d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ ESLINT_OPTS :=
396396
NPM_INSTALLED += $(ESLINT_CMD)
397397

398398
lint/eslintrc-gjs.yml:
399-
curl -o $@ 'https://gitlab.gnome.org/GNOME/gjs/-/raw/43689fecad1fa712974eabc5c939a71d2a7cb7fd/.eslintrc.yml'
399+
curl -o $@ 'https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/39ed7f83fd97a5a3f688d77adb73e00fd24b7bfe/lint/eslintrc-gjs.yml'
400400

401401
lint: $(ESLINT_CMD) lint/eslintrc-gjs.yml
402402
$< $(ESLINT_OPTS) .

lint/eslintrc-gjs.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ rules:
6868
jsdoc/check-tag-names: error
6969
jsdoc/check-types: error
7070
jsdoc/implements-on-classes: error
71-
jsdoc/newline-after-description: error
71+
jsdoc/tag-lines:
72+
- error
73+
- any
74+
- startLines: 1
7275
jsdoc/require-jsdoc: error
7376
jsdoc/require-param: error
7477
jsdoc/require-param-description: error
@@ -127,12 +130,6 @@ rules:
127130
no-restricted-globals: [error, window]
128131
no-restricted-properties:
129132
- error
130-
- object: imports
131-
property: format
132-
message: Use template strings
133-
- object: pkg
134-
property: initFormat
135-
message: Use template strings
136133
- object: Lang
137134
property: copyProperties
138135
message: Use Object.assign()

0 commit comments

Comments
 (0)