Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

docs(en): merge website/master into cn.eslint.org/main @ 3167796e #210

Open
wants to merge 505 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
505 commits
Select commit Hold shift + click to select a range
f9a5da2
Update: sponsors.json data
Feb 14, 2022
b91049c
docs: Note reverted feature in v8 teaser post (#924)
btmills Feb 14, 2022
2c5506c
Update: sponsors.json data
Feb 15, 2022
b181f6c
Update: sponsors.json data
Feb 15, 2022
439b123
Update: sponsors.json data
Feb 15, 2022
a9c12eb
chore: Bump follow-redirects from 1.14.7 to 1.14.8 (#925)
dependabot[bot] Feb 16, 2022
7e20d9b
Update: sponsors.json data
Feb 17, 2022
cd7141b
Update: sponsors.json data
Feb 17, 2022
6e0a741
Update: sponsors.json data
Feb 18, 2022
adb37f5
Update: sponsors.json data
Feb 18, 2022
7de271f
Update: sponsors.json data
Feb 19, 2022
be2bf37
Update: sponsors.json data
Feb 19, 2022
648b45b
Update: sponsors.json data
Feb 19, 2022
850b26f
feat: Updated financials blog post (#927)
nzakas Feb 23, 2022
29f6e07
Update: sponsors.json data
Feb 25, 2022
171e11f
Update: sponsors.json data
Feb 25, 2022
a988273
Update: sponsors.json data
Feb 25, 2022
78f7ef7
Autogenerated new docs and demo at Fri Feb 25 2022 17:53:21
Feb 25, 2022
f628b01
docs: add highlights for v8.10.0 (#928)
mdjermanovic Feb 25, 2022
e96ea1e
Update: sponsors.json data
Feb 28, 2022
94ab69e
Update: sponsors.json data
Feb 28, 2022
aab1d94
Update: sponsors.json data
Mar 1, 2022
54a2329
Update: sponsors.json data
Mar 1, 2022
aa87889
Update: sponsors.json data
Mar 1, 2022
f55ff77
Update: sponsors.json data
Mar 1, 2022
8266411
Update: sponsors.json data
Mar 1, 2022
c4a48b4
Update: sponsors.json data
Mar 1, 2022
07f398a
Update: sponsors.json data
Mar 1, 2022
2376fb8
Update: sponsors.json data
Mar 1, 2022
e6f77a3
Update: sponsors.json data
Mar 1, 2022
e65ad79
Update: sponsors.json data
Mar 1, 2022
89fb66a
Update: sponsors.json data
Mar 1, 2022
865db96
Update: sponsors.json data
Mar 1, 2022
f4a5bc1
Update: sponsors.json data
Mar 1, 2022
b00d20f
Update: sponsors.json data
Mar 1, 2022
510941a
Update: sponsors.json data
Mar 1, 2022
e312230
Update: sponsors.json data
Mar 1, 2022
cc69ba4
Update: sponsors.json data
Mar 1, 2022
687177d
Update: sponsors.json data
Mar 1, 2022
9af8e75
Update: sponsors.json data
Mar 1, 2022
7cf7fd2
Update: sponsors.json data
Mar 1, 2022
839509d
Update: sponsors.json data
Mar 1, 2022
f7beb27
Update: sponsors.json data
Mar 2, 2022
b43c37b
Update: sponsors.json data
Mar 2, 2022
6a17b54
Update: sponsors.json data
Mar 2, 2022
8e354d9
Update: sponsors.json data
Mar 2, 2022
f28f73d
Update: sponsors.json data
Mar 2, 2022
569740b
Update: sponsors.json data
Mar 3, 2022
bfa44ac
Update: sponsors.json data
Mar 3, 2022
30697fa
Update: sponsors.json data
Mar 3, 2022
06c9b0f
Update: sponsors.json data
Mar 3, 2022
d9eaf76
Update: sponsors.json data
Mar 4, 2022
d93e278
Update: sponsors.json data
Mar 4, 2022
8f82f3b
Update: sponsors.json data
Mar 4, 2022
267b05d
Update: sponsors.json data
Mar 5, 2022
884012a
Update: sponsors.json data
Mar 5, 2022
9f65c35
Update: sponsors.json data
Mar 6, 2022
3c9e9bc
Update: sponsors.json data
Mar 7, 2022
620edaa
Update: sponsors.json data
Mar 8, 2022
9963a93
Update: sponsors.json data
Mar 8, 2022
9286022
Update: sponsors.json data
Mar 9, 2022
01783c2
Update: sponsors.json data
Mar 9, 2022
e06db88
Update: sponsors.json data
Mar 10, 2022
90d1747
Autogenerated new docs and demo at Fri Mar 11 2022 17:27:22
Mar 11, 2022
280917d
docs: add highlights for v8.11.0 (#930)
mdjermanovic Mar 11, 2022
37ac82f
Update: sponsors.json data
Mar 13, 2022
595d3d4
Update: sponsors.json data
Mar 16, 2022
8c2cec0
Update: sponsors.json data
Mar 19, 2022
8258586
Update: sponsors.json data
Mar 21, 2022
ef98ae4
Update: sponsors.json data
Mar 22, 2022
4171ba0
Update: sponsors.json data
Mar 22, 2022
5546670
Update: sponsors.json data
Mar 23, 2022
86f7463
Update: sponsors.json data
Mar 24, 2022
72f4c37
Update: sponsors.json data
Mar 24, 2022
4b7637c
Update: sponsors.json data
Mar 25, 2022
9e578ca
Autogenerated new docs and demo at Fri Mar 25 2022 18:30:15
Mar 25, 2022
ced57dc
Update: sponsors.json data
Mar 26, 2022
05b34ca
Update: sponsors.json data
Mar 26, 2022
873ad1f
Update: sponsors.json data
Mar 26, 2022
772ee81
Update: sponsors.json data
Mar 27, 2022
021f26c
Update: sponsors.json data
Mar 28, 2022
64116f1
Update: sponsors.json data
Mar 30, 2022
8bc3176
Update: sponsors.json data
Mar 31, 2022
c3bf963
Update: sponsors.json data
Mar 31, 2022
17211b6
Update: sponsors.json data
Apr 1, 2022
7ece8cd
Update: sponsors.json data
Apr 1, 2022
5fad0cb
Update: sponsors.json data
Apr 1, 2022
274dfa5
Update: sponsors.json data
Apr 1, 2022
4b4a042
Update: sponsors.json data
Apr 1, 2022
f9a4384
Update: sponsors.json data
Apr 1, 2022
5cdbd70
Update: sponsors.json data
Apr 1, 2022
13a4ec6
Update: sponsors.json data
Apr 1, 2022
a118cfd
Update: sponsors.json data
Apr 1, 2022
a357555
Update: sponsors.json data
Apr 1, 2022
c27b1fe
Update: sponsors.json data
Apr 1, 2022
c41df4b
Update: sponsors.json data
Apr 1, 2022
80f1773
Update: sponsors.json data
Apr 1, 2022
5fdd6d7
Update: sponsors.json data
Apr 1, 2022
55d96f0
Update: sponsors.json data
Apr 1, 2022
efa357a
Update: sponsors.json data
Apr 1, 2022
f18207d
Update: sponsors.json data
Apr 1, 2022
42c43e5
Update: sponsors.json data
Apr 1, 2022
4188395
Update: sponsors.json data
Apr 1, 2022
afcd8a8
Update: sponsors.json data
Apr 1, 2022
aeb01ff
Update: sponsors.json data
Apr 1, 2022
af13ad8
Update: sponsors.json data
Apr 1, 2022
7d309fd
Update: sponsors.json data
Apr 2, 2022
e4991af
Update: sponsors.json data
Apr 2, 2022
ef30800
Update: sponsors.json data
Apr 2, 2022
7a6dfba
Update: sponsors.json data
Apr 2, 2022
ec00aae
Update: sponsors.json data
Apr 2, 2022
c2c9c3f
Update: sponsors.json data
Apr 2, 2022
7db96e0
Update: sponsors.json data
Apr 2, 2022
b6e7361
Update: sponsors.json data
Apr 2, 2022
35dbd13
Update: sponsors.json data
Apr 4, 2022
59a9f9a
Update: sponsors.json data
Apr 4, 2022
bf2a05d
Update: sponsors.json data
Apr 4, 2022
0dff6f9
Update: sponsors.json data
Apr 5, 2022
4e72741
Update: sponsors.json data
Apr 5, 2022
d7ba99a
Update: sponsors.json data
Apr 6, 2022
8581a9c
Update: sponsors.json data
Apr 7, 2022
bb364cc
Autogenerated new docs and demo at Fri Apr 08 2022 17:27:24
Apr 8, 2022
bda0561
docs: add author for v8.13.0 (#931)
mdjermanovic Apr 8, 2022
91d24f1
Update: sponsors.json data
Apr 10, 2022
7b7ad57
Update: sponsors.json data
Apr 11, 2022
88b8632
chore: bump minimist from 1.2.5 to 1.2.6 (#932)
dependabot[bot] Apr 12, 2022
a086296
fix: check if blog post authors are specified in fetch-team-data scri…
mdjermanovic Apr 17, 2022
0125674
Update: sponsors.json data
Apr 19, 2022
07105b8
Update: sponsors.json data
Apr 19, 2022
03f3651
Update: sponsors.json data
Apr 19, 2022
fcc5af3
Update: sponsors.json data
Apr 21, 2022
acfcb9c
chore: Changes to support static frontmatter in docs (#933)
nzakas Apr 22, 2022
eca2333
Update: sponsors.json data
Apr 22, 2022
1071141
Autogenerated new docs and demo at Fri Apr 22 2022 16:39:09
Apr 22, 2022
6cd9988
Update: team.json data
Apr 22, 2022
82b7047
docs: add highlights for v8.14.0 (#935)
mdjermanovic Apr 22, 2022
f04ac1f
docs: fix heading in no-constant-binary-expression (#936)
mdjermanovic Apr 22, 2022
1548ba8
Update: sponsors.json data
Apr 22, 2022
d3b79dc
Update: sponsors.json data
Apr 23, 2022
cd05aac
Update: sponsors.json data
Apr 25, 2022
20cc773
Update: sponsors.json data
Apr 25, 2022
2148696
Update: sponsors.json data
Apr 25, 2022
91eb1e8
Update: sponsors.json data
Apr 26, 2022
e092e01
Update: sponsors.json data
Apr 26, 2022
f9fc525
Update: sponsors.json data
Apr 26, 2022
caa05ab
docs: Fixed typo in code comment (#937)
AddisonG Apr 28, 2022
2d15c81
Update: sponsors.json data
Apr 28, 2022
d6f2388
Update: sponsors.json data
Apr 29, 2022
0eb44ae
Update: sponsors.json data
Apr 30, 2022
bbfc4ec
Update: sponsors.json data
Apr 30, 2022
0f07715
Update: sponsors.json data
May 1, 2022
9c750f7
Update: sponsors.json data
May 1, 2022
47d7b1c
Update: sponsors.json data
May 1, 2022
b82fa31
Update: sponsors.json data
May 1, 2022
9f7f96c
Update: sponsors.json data
May 1, 2022
194aae3
Update: sponsors.json data
May 1, 2022
7205eb1
Update: sponsors.json data
May 1, 2022
f43f7ad
Update: sponsors.json data
May 1, 2022
90035b3
Update: sponsors.json data
May 1, 2022
989f391
Update: sponsors.json data
May 1, 2022
9c5f75a
Update: sponsors.json data
May 1, 2022
e27bb9e
Update: sponsors.json data
May 1, 2022
28de88c
Update: sponsors.json data
May 1, 2022
cfcc753
Update: sponsors.json data
May 1, 2022
32c438f
Update: sponsors.json data
May 1, 2022
7ea6c69
Update: sponsors.json data
May 1, 2022
fb814f3
Update: sponsors.json data
May 1, 2022
9c76b2b
Update: sponsors.json data
May 1, 2022
c547a45
Update: sponsors.json data
May 1, 2022
f752295
Update: sponsors.json data
May 1, 2022
d9bcf61
Update: sponsors.json data
May 1, 2022
28e2425
Update: sponsors.json data
May 1, 2022
925ce9c
Update: sponsors.json data
May 1, 2022
dbcdcdc
Update: sponsors.json data
May 1, 2022
61e9ef7
Update: sponsors.json data
May 2, 2022
2e096d5
Update: sponsors.json data
May 2, 2022
bf66877
Update: sponsors.json data
May 2, 2022
e782222
Update: sponsors.json data
May 2, 2022
1b78cd3
Update: sponsors.json data
May 2, 2022
e637d8a
Update: sponsors.json data
May 2, 2022
8fe7c33
Update: sponsors.json data
May 3, 2022
f0fe29b
Update: sponsors.json data
May 3, 2022
520499f
Update: sponsors.json data
May 4, 2022
add973b
Update: sponsors.json data
May 4, 2022
2b0c4cc
Update: sponsors.json data
May 5, 2022
cec2476
Update: sponsors.json data
May 6, 2022
027101e
Autogenerated new docs and demo at Fri May 06 2022 17:25:12
May 6, 2022
89dce67
docs: add highlights for v8.15.0 (#938)
mdjermanovic May 6, 2022
104f126
Update: sponsors.json data
May 9, 2022
e8af34b
Update: sponsors.json data
May 10, 2022
f667a61
Update: sponsors.json data
May 11, 2022
72f1eee
chore: Update rule docs format (#943)
nzakas May 13, 2022
e66855b
Update: sponsors.json data
May 16, 2022
89db7c7
docs: remove duplicate text (#944)
amareshsm May 18, 2022
6de8fa3
Update: sponsors.json data
May 19, 2022
c66dafc
docs: remove duplicate text (#945)
amareshsm May 19, 2022
5777d9f
Update: sponsors.json data
May 20, 2022
349cea8
Autogenerated new docs and demo at Fri May 20 2022 18:37:22
May 20, 2022
f2cbfb9
Update: team.json data
May 20, 2022
8ad0130
docs: add highlights for v8.16.0 (#947)
mdjermanovic May 20, 2022
efdfa0b
fix: removes layout shift caused due to ads (#946)
harish-sethuraman May 21, 2022
5a805ad
Update: sponsors.json data
May 25, 2022
89e00f0
Update: sponsors.json data
May 25, 2022
135deb0
Update: sponsors.json data
May 27, 2022
f422a87
Update: sponsors.json data
May 30, 2022
c352638
Update: sponsors.json data
May 31, 2022
1a3cb45
Update: sponsors.json data
Jun 1, 2022
d751faa
Update: sponsors.json data
Jun 1, 2022
7208731
Update: sponsors.json data
Jun 1, 2022
ccc6c36
Update: sponsors.json data
Jun 1, 2022
b029868
Update: sponsors.json data
Jun 1, 2022
8fe145c
Update: sponsors.json data
Jun 1, 2022
f2a12db
Update: sponsors.json data
Jun 1, 2022
30b2a0e
Update: sponsors.json data
Jun 1, 2022
7c08e5b
Update: sponsors.json data
Jun 1, 2022
e75a36f
Update: sponsors.json data
Jun 1, 2022
e7d4a39
Update: sponsors.json data
Jun 1, 2022
189a4fa
Update: sponsors.json data
Jun 1, 2022
4f58f02
Update: sponsors.json data
Jun 1, 2022
1f4c44e
Update: sponsors.json data
Jun 1, 2022
78beca6
Update: sponsors.json data
Jun 1, 2022
2dedb91
Update: sponsors.json data
Jun 1, 2022
21e9a3b
Update: sponsors.json data
Jun 1, 2022
4489d94
Update: sponsors.json data
Jun 1, 2022
81b4381
Update: sponsors.json data
Jun 1, 2022
5357e2d
Update: sponsors.json data
Jun 1, 2022
d6b146c
Update: sponsors.json data
Jun 1, 2022
1b195cb
Update: sponsors.json data
Jun 1, 2022
6d7aea7
Update: sponsors.json data
Jun 2, 2022
92db65f
Update: sponsors.json data
Jun 2, 2022
e2580c9
Update: sponsors.json data
Jun 2, 2022
786412e
Update: sponsors.json data
Jun 2, 2022
b8ed5c2
Update: sponsors.json data
Jun 2, 2022
37d9ef4
Update: sponsors.json data
Jun 2, 2022
6b13f7a
Update: sponsors.json data
Jun 2, 2022
98d7bbf
Update: sponsors.json data
Jun 2, 2022
630cb21
Update: sponsors.json data
Jun 2, 2022
fa00dd6
Autogenerated new docs and demo at Fri Jun 03 2022 17:39:17
Jun 3, 2022
841da2a
Update: team.json data
Jun 3, 2022
9843f3c
docs: add highlights for v8.17.0 (#948)
mdjermanovic Jun 3, 2022
ef8dded
Update: sponsors.json data
Jun 6, 2022
b61021b
Update: sponsors.json data
Jun 6, 2022
0bab9a9
Update: sponsors.json data
Jun 6, 2022
2894f93
Update: sponsors.json data
Jun 8, 2022
3faaf04
Update: sponsors.json data
Jun 8, 2022
1a8f237
Update: sponsors.json data
Jun 8, 2022
bff7a6d
Update: sponsors.json data
Jun 8, 2022
327d60a
Update: sponsors.json data
Jun 9, 2022
3167796
Update: sponsors.json data
Jun 10, 2022
d9ffc54
docs(en): merging all conflicts
docschina-bot Jun 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '16.x'
- name: Install dependencies
run: npm ci
- name: Lint Files
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ npm install
执行完上述操作,即可进行本地调试:

```sh
$ npm start
npm start
```

启动后会部署在 `http://localhost:8080/` 域名下,并会根据源码的变化进行热更新。
3 changes: 2 additions & 1 deletion _11ty/filters/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
module.exports = {
dateFormat: require("./date-format"),
numberOfWords: require("./number-of-words"),
xmlEscape: require("./xml-escape")
xmlEscape: require("./xml-escape"),
regexMatch: require("./regex-match")
};
5 changes: 5 additions & 0 deletions _11ty/filters/regex-match.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"use strict";

module.exports = function regexMatch(text, regex) {
return new RegExp(regex, "u").test(text);
};
123 changes: 123 additions & 0 deletions _data/all_authors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
{
"nzakas": {
"username": "nzakas",
"name": "Nicholas C. Zakas",
"title": "ESLint Technical Steering Committee",
"website": "https://humanwhocodes.com",
"avatar_url": "https://avatars.githubusercontent.com/u/38546?v=4",
"bio": "Creator of ESLint, independent software developer, consultant, coach, and author.",
"twitter_username": "slicknet",
"github_username": "nzakas",
"location": "Mountain View, CA"
},
"okuryu": {
"username": "okuryu",
"name": "Ryuichi Okumura",
"title": "Guest Author",
"website": "https://www.okuryu.com/",
"avatar_url": "https://avatars.githubusercontent.com/u/34588?v=4",
"bio": "Contributor at @yahoo, @formatjs, @nodejs, and @yui.",
"twitter_username": "okuryu",
"github_username": "okuryu",
"location": "Tokyo"
},
"ilyavolodin": {
"username": "ilyavolodin",
"name": "Ilya Volodin",
"title": "ESLint Alumnus",
"website": "",
"avatar_url": "https://avatars.githubusercontent.com/u/1380062?v=4",
"bio": null,
"twitter_username": null,
"github_username": "ilyavolodin",
"location": null
},
"kaicataldo": {
"username": "kaicataldo",
"name": "Kai Cataldo",
"title": "ESLint Alumnus",
"website": "kaicataldo.com",
"avatar_url": "https://avatars.githubusercontent.com/u/7041728?v=4",
"bio": "💻 🎺 🎮 ⌨️ 🐕 • he/him",
"twitter_username": "kai_cataldo",
"github_username": "kaicataldo",
"location": "Brooklyn, NY"
},
"btmills": {
"username": "btmills",
"name": "Brandon Mills",
"title": "ESLint Technical Steering Committee",
"website": "https://bmills.net",
"avatar_url": "https://avatars.githubusercontent.com/u/1709537?v=4",
"bio": "I lead engineering @drivecapital and help maintain @eslint.",
"twitter_username": null,
"github_username": "btmills",
"location": "Columbus, Ohio"
},
"gyandeeps": {
"username": "gyandeeps",
"name": "Gyandeep Singh",
"title": "ESLint Alumnus",
"website": "https://gyandeeps.com",
"avatar_url": "https://avatars.githubusercontent.com/u/5554486?v=4",
"bio": "Talk--; Code++;",
"twitter_username": "gyandeeps",
"github_username": "gyandeeps",
"location": "Kansas City, USA"
},
"mysticatea": {
"username": "mysticatea",
"name": "Toru Nagashima",
"title": "ESLint Reviewer",
"website": "",
"avatar_url": "https://avatars.githubusercontent.com/u/1937871?v=4",
"bio": "A member of ESLint, Babel, and Vue.js.",
"twitter_username": null,
"github_username": "mysticatea",
"location": "Shizuoka, Japan"
},
"not-an-aardvark": {
"username": "not-an-aardvark",
"name": "Teddy Katz",
"title": "ESLint Alumnus",
"website": "https://blog.teddykatz.com",
"avatar_url": "https://avatars.githubusercontent.com/u/11638619?v=4",
"bio": null,
"twitter_username": "not_an_aardvark",
"github_username": "not-an-aardvark",
"location": "New York, NY"
},
"platinumazure": {
"username": "platinumazure",
"name": "Kevin Partington",
"title": "ESLint Alumnus",
"website": "",
"avatar_url": "https://avatars.githubusercontent.com/u/284282?v=4",
"bio": "@eslint team alumnus. Currently stepping back a bit to try to get my life in order.",
"twitter_username": null,
"github_username": "platinumazure",
"location": null
},
"hzoo": {
"username": "hzoo",
"name": "Henry Zhu",
"title": "ESLint Alumnus",
"website": "https://henryzoo.com",
"avatar_url": "https://avatars.githubusercontent.com/u/588473?v=4",
"bio": "Learning to maintain stuff",
"twitter_username": "left_pad",
"github_username": "hzoo",
"location": null
},
"mdjermanovic": {
"username": "mdjermanovic",
"name": "Milos Djermanovic",
"title": "ESLint Technical Steering Committee",
"website": "",
"avatar_url": "https://avatars.githubusercontent.com/u/44349756?v=4",
"bio": null,
"twitter_username": null,
"github_username": "mdjermanovic",
"location": null
}
}
27 changes: 23 additions & 4 deletions _data/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,11 @@ types:
hasSuggestions: false
name: no-const-assign
recommended: true
- description: disallow expressions where the operation doesn't affect the value
fixable: false
hasSuggestions: false
name: no-constant-binary-expression
recommended: false
- description: disallow constant expressions in conditions
fixable: false
hasSuggestions: false
Expand Down Expand Up @@ -284,7 +289,7 @@ types:
disallow characters which are made with multiple code points in
character class syntax
fixable: false
hasSuggestions: false
hasSuggestions: true
name: no-misleading-character-class
recommended: true
- description: disallow `new` operators with the `Symbol` object
Expand Down Expand Up @@ -383,6 +388,11 @@ types:
hasSuggestions: false
name: no-unsafe-optional-chaining
recommended: true
- description: disallow unused private class members
fixable: false
hasSuggestions: false
name: no-unused-private-class-members
recommended: false
- description: disallow unused variables
fixable: false
hasSuggestions: false
Expand Down Expand Up @@ -412,7 +422,7 @@ types:
recommended: true
- description: enforce comparing `typeof` expressions against valid strings
fixable: false
hasSuggestions: false
hasSuggestions: true
name: valid-typeof
recommended: true
- description: 'These rules suggest alternate ways of doing things:'
Expand Down Expand Up @@ -720,7 +730,9 @@ types:
hasSuggestions: false
name: no-inline-comments
recommended: false
- description: disallow `this` keywords outside of classes or class-like objects
- description: >-
disallow use of `this` in contexts where the value of `this` is
`undefined`
fixable: false
hasSuggestions: false
name: no-invalid-this
Expand Down Expand Up @@ -1066,6 +1078,13 @@ types:
hasSuggestions: false
name: prefer-numeric-literals
recommended: false
- description: >-
disallow use of `Object.prototype.hasOwnProperty.call()` and prefer
use of `Object.hasOwn()`
fixable: true
hasSuggestions: false
name: prefer-object-has-own
recommended: false
- description: >-
disallow using Object.assign with an object literal as the first
argument and prefer the use of object spread instead.
Expand All @@ -1082,7 +1101,7 @@ types:
disallow use of the `RegExp` constructor in favor of regular
expression literals
fixable: false
hasSuggestions: false
hasSuggestions: true
name: prefer-regex-literals
recommended: false
- description: require rest parameters instead of `arguments`
Expand Down
Loading