Content-Length: 463062 | pFad | http://github.com/HowProgrammingWorks/API/commit/06c089fa3bdb224ddef84ee8b39d9625a9d8d786

3A Update eslint 9.x config: code style · HowProgrammingWorks/API@06c089f · GitHub
Skip to content

Commit 06c089f

Browse files
committed
Update eslint 9.x config: code style
1 parent c233f53 commit 06c089f

File tree

1 file changed

+54
-54
lines changed

1 file changed

+54
-54
lines changed

eslint.config.js

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
11
'use strict';
22

33
module.exports = {
4-
'languageOptions': {
5-
'ecmaVersion': 'latest',
6-
'sourceType': 'commonjs',
7-
'globals': {
8-
'BigInt': true,
9-
'AbortController': true,
10-
'AbortSignal': true,
11-
'DOMException': true,
12-
'fetch': true,
13-
'console': true,
14-
'process': true,
15-
'Buffer': true,
16-
'Blob': true,
17-
'TextDecoder': true,
18-
'TextEncoder': true,
19-
'TextDecoderStream': true,
20-
'TextEncoderStream': true,
21-
'WebSocket': true,
22-
'window': true,
23-
'setTimeout': true,
24-
'setImmediate': true,
25-
'setInterval': true,
26-
'clearTimeout': true,
27-
'clearImmediate': true,
28-
'clearInterval': true,
29-
'__dirname': true,
30-
'__filename': true,
31-
'Event': true,
32-
'EventTarget': true,
33-
'MessageChannel': true,
34-
'MessageEvent': true,
35-
'MessagePort': true,
36-
'FormData': true,
37-
'Headers': true,
38-
'Response': true,
39-
'Request': true,
40-
'ByteLengthQueuingStrategy': true,
41-
'URL': true,
42-
'URLSearchParams': true,
43-
'WebAssembly': true,
44-
'queueMicrotask': true,
45-
'BroadcastChannel': true,
46-
'CompressionStream': true,
47-
'DecompressionStream': true,
48-
'CountQueuingStrategy': true,
49-
'DomainError': true,
50-
'document': true,
51-
'location': true,
52-
'self': true,
53-
'caches': true,
54-
'navigator': true,
55-
'File': true,
56-
'localStorage': true,
4+
languageOptions: {
5+
ecmaVersion: 'latest',
6+
sourceType: 'commonjs',
7+
globals: {
8+
BigInt: true,
9+
AbortController: true,
10+
AbortSignal: true,
11+
DOMException: true,
12+
fetch: true,
13+
console: true,
14+
process: true,
15+
Buffer: true,
16+
Blob: true,
17+
TextDecoder: true,
18+
TextEncoder: true,
19+
TextDecoderStream: true,
20+
TextEncoderStream: true,
21+
WebSocket: true,
22+
window: true,
23+
setTimeout: true,
24+
setImmediate: true,
25+
setInterval: true,
26+
clearTimeout: true,
27+
clearImmediate: true,
28+
clearInterval: true,
29+
__dirname: true,
30+
__filename: true,
31+
Event: true,
32+
EventTarget: true,
33+
MessageChannel: true,
34+
MessageEvent: true,
35+
MessagePort: true,
36+
FormData: true,
37+
Headers: true,
38+
Response: true,
39+
Request: true,
40+
ByteLengthQueuingStrategy: true,
41+
URL: true,
42+
URLSearchParams: true,
43+
WebAssembly: true,
44+
queueMicrotask: true,
45+
BroadcastChannel: true,
46+
CompressionStream: true,
47+
DecompressionStream: true,
48+
CountQueuingStrategy: true,
49+
DomainError: true,
50+
document: true,
51+
location: true,
52+
self: true,
53+
caches: true,
54+
navigator: true,
55+
File: true,
56+
localStorage: true,
5757
},
5858
},
59-
'ignores': ['node_modules/*'],
59+
ignores: ['node_modules/*'],
6060
rules: {
6161
indent: ['error', 2],
6262
'linebreak-style': ['error', 'unix'],

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/HowProgrammingWorks/API/commit/06c089fa3bdb224ddef84ee8b39d9625a9d8d786

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy