Skip to content

Commit 9df1696

Browse files
Revert "Wire initial typescript (#338)"
This reverts commit 3919d4d.
1 parent 3919d4d commit 9df1696

79 files changed

Lines changed: 1058 additions & 12985 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

eslint.config.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ export default tseslint.config(
5151
},
5252
},
5353
{
54-
files: ['lib/**/*.js'],
55-
// ignores: ['dist'],
54+
ignores: ['dist'],
5655
languageOptions: {
5756
ecmaVersion: 2025,
5857
sourceType: 'module',
@@ -214,28 +213,15 @@ export default tseslint.config(
214213
'no-restricted-modules': 0,
215214
'no-sync': 0,
216215
'no-async-promise-executor': 0,
217-
218-
"no-restricted-imports": ["error", {
219-
"patterns": [{
220-
"regex": ".*\\.ts",
221-
"message": "Do not import typescript files. Import them with *.js"
222-
}]
223-
}]
224216
},
225217
},
226218
{
227-
languageOptions: {
219+
languageOptions: {
228220
parser: tseslint.parser,
229221
parserOptions: {
230222
projectService: true,
231223
tsconfigRootDir: import.meta.dirname,
232224
},
233225
},
234226
},
235-
tseslint.configs.eslintRecommended,
236-
{
237-
rules: {
238-
"prefer-const": "off"
239-
}
240-
}
241227
)

google/protobuf/any.ts

Lines changed: 0 additions & 326 deletions
This file was deleted.

lib/cli/please.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
import './index.js'
1+
import './index.ts'

0 commit comments

Comments
 (0)