Commit 72ac58b
committed
chore: lint .js and .mjs files (in addition to the existing .ts file linting)
In open-telemetry#2567 support
was added to eslint.config.js for linting .js and .mjs files -- before it
only supported .ts files.
Originally this was added to support linting examples/... which includes many
.js files.
This change enables linting of .js and .mjs files in the rest of the repo.
Refs: open-telemetry#28911 parent 74ddb1e commit 72ac58b
File tree
67 files changed
+134
-134
lines changed- incubator/opentelemetry-sampler-aws-xray
- packages
- auto-configuration-propagators
- auto-instrumentations-node
- auto-instrumentations-web
- baggage-log-record-processor
- baggage-span-processor
- contrib-test-utils
- host-metrics
- id-generator-aws-xray
- instrumentation-amqplib
- instrumentation-aws-lambda
- instrumentation-aws-sdk
- instrumentation-bunyan
- instrumentation-cassandra-driver
- instrumentation-connect
- instrumentation-cucumber
- instrumentation-dataloader
- instrumentation-dns
- instrumentation-document-load
- instrumentation-express
- instrumentation-fastify
- instrumentation-fs
- instrumentation-generic-pool
- instrumentation-graphql
- instrumentation-hapi
- instrumentation-ioredis
- instrumentation-kafkajs
- instrumentation-knex
- instrumentation-koa
- instrumentation-long-task
- instrumentation-lru-memoizer
- instrumentation-memcached
- instrumentation-mongodb
- instrumentation-mongoose
- instrumentation-mysql2
- instrumentation-mysql
- instrumentation-nestjs-core
- instrumentation-net
- instrumentation-oracledb
- instrumentation-pg
- instrumentation-pino
- instrumentation-redis
- instrumentation-restify
- instrumentation-router
- instrumentation-runtime-node
- instrumentation-socket.io
- instrumentation-tedious
- instrumentation-typeorm
- instrumentation-undici
- instrumentation-user-interaction
- instrumentation-winston
- plugin-react-load
- propagation-utils
- propagator-aws-xray-lambda
- propagator-aws-xray
- propagator-instana
- propagator-ot-trace
- redis-common
- resource-detector-alibaba-cloud
- resource-detector-aws
- resource-detector-azure
- resource-detector-container
- resource-detector-gcp
- resource-detector-github
- resource-detector-instana
- sql-common
- winston-transport
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
67 files changed
+134
-134
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments