Skip to content

Commit

Permalink
feat!: prefer node protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 25, 2023
1 parent f198caf commit 64531ce
Show file tree
Hide file tree
Showing 3 changed files with 368 additions and 28 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ module.exports = {
],
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'eslint-plugin-import', 'eslint-plugin-jsdoc'],
plugins: ['@typescript-eslint', 'eslint-plugin-import', 'eslint-plugin-jsdoc', 'unicorn'],
rules: {
'unicorn/prefer-node-protocol': 'error',
// Override @typescript-eslint/recommended
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-namespace': 'off',
Expand Down
19 changes: 12 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"eslint",
"typescript"
],
"author": "Thomas <[email protected]>",
"author": "Salesforce",
"homepage": "https://github.com/forcedotcom/eslint-config-salesforce-typescript#readme",
"license": "BSD-3-Clause",
"main": ".eslintrc.js",
Expand All @@ -19,18 +19,23 @@
"url": "https://github.com/forcedotcom/eslint-config-salesforce-typescript/issues"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-salesforce-license": "^0.2.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^39.9.1"
"typescript": "^5.2.2"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "echo 'no build necessary'"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint-config-prettier": "^8.10.0",
"eslint-config-salesforce-license": "^0.2.0",
"eslint-config-salesforce": "^2.0.2",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^43.0.5",
"eslint-plugin-unicorn": "^48.0.1"
}
}
Loading

0 comments on commit 64531ce

Please sign in to comment.