Skip to content

Commit b707964

Browse files
authored
Merge pull request #420 from rubygems/claude/trusting-grothendieck-36f809
Clean up stale development configuration
2 parents 0fe8629 + 8990be4 commit b707964

6 files changed

Lines changed: 11 additions & 17 deletions

File tree

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Node.js
3232
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
3333
with:
34-
node-version-file: .nvmrc
34+
node-version: '20'
3535

3636
- name: Install dependencies
3737
run: npm ci

.github/workflows/compile-dependabot-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Node
2121
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2222
with:
23-
node-version-file: .nvmrc
23+
node-version: '20'
2424
cache: 'npm'
2525

2626
- name: Install dependencies

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

eslint.config.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,14 @@ export default tseslint.config(
1717
},
1818
languageOptions: {
1919
parserOptions: {
20-
ecmaVersion: 9,
2120
sourceType: 'module',
2221
project: './tsconfig.json'
2322
}
2423
},
2524
rules: {
26-
'filenamesPlugin/match-regex': 'off',
2725
'i18n-text/no-en': 'off',
2826
'eslint-comments/no-use': 'off',
2927
'import/no-namespace': 'off',
30-
'importPlugin/no-namespace': 'off',
31-
'importPlugin/no-unresolved': 'off',
3228
'no-unused-vars': 'off',
3329
'@typescript-eslint/no-unused-vars': 'error',
3430
'@typescript-eslint/explicit-member-accessibility': [

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"main": "lib/main.js",
77
"scripts": {
88
"build": "tsc",
9-
"format": "prettier --write '**/*.ts'",
10-
"format-check": "prettier --check '**/*.ts'",
11-
"lint": "eslint 'src/**/*.ts'",
9+
"format": "prettier --write \"**/*.ts\"",
10+
"format-check": "prettier --check \"**/*.ts\"",
11+
"lint": "eslint \"src/**/*.ts\"",
1212
"package": "ncc build --source-map --license licenses.txt",
1313
"test": "jest",
1414
"all": "npm run build && npm run format && npm run lint && npm run package && npm test"

tsconfig.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"compilerOptions": {
3-
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
4-
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
5-
"outDir": "./lib", /* Redirect output structure to the directory. */
6-
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
7-
"strict": true, /* Enable all strict type-checking options. */
8-
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
9-
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
3+
"target": "es6",
4+
"module": "commonjs",
5+
"outDir": "./lib",
6+
"rootDir": "./src",
7+
"strict": true,
8+
"esModuleInterop": true
109
},
1110
"exclude": ["node_modules", "**/*.test.ts"]
1211
}

0 commit comments

Comments
 (0)