diff --git a/lib/configs/typescript.js b/lib/configs/typescript.js index 5d5e4e80..ff480bef 100644 --- a/lib/configs/typescript.js +++ b/lib/configs/typescript.js @@ -4,6 +4,8 @@ module.exports = { plugins: ['@typescript-eslint', 'github'], rules: { camelcase: 'off', + 'no-unused-vars': 'off', + '@typescript-eslint/interface-name-prefix': 'off', '@typescript-eslint/array-type': ['error', {default: 'array-simple'}], '@typescript-eslint/no-use-before-define': 'off', '@typescript-eslint/explicit-member-accessibility': 'off', diff --git a/package-lock.json b/package-lock.json index f3fc7b4b..f1ad3126 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-github", - "version": "4.0.0-0", + "version": "4.0.0-1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -30,6 +30,12 @@ "js-tokens": "^4.0.0" } }, + "@github/prettier-config": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@github/prettier-config/-/prettier-config-0.0.4.tgz", + "integrity": "sha512-ZOJ+U771Mw68qp2GPbcqPt2Xg0LEl0YwiIFHXwVLAFm2TgDnsgcCHhXO8PIxOWPqSFO4S7xIMD9CBobfaWGASA==", + "dev": true + }, "@types/color-name": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", diff --git a/package.json b/package.json index 63577fd1..ad1aaf4e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-github", - "version": "4.0.0-0", + "version": "4.0.0-1", "description": "An opinionated collection of ESLint shared configs and rules used by GitHub.", "main": "lib/index.js", "entries": [ @@ -35,6 +35,7 @@ "prettier": ">=1.12.0", "svg-element-attributes": ">=1.3.1" }, + "prettier": "@github/prettier-config", "peerDependencies": { "eslint": ">=4.19.0" }, @@ -44,6 +45,7 @@ "prettier.config.js" ], "devDependencies": { + "@github/prettier-config": "0.0.4", "eslint": ">=6.8.0", "mocha": ">=7.1.1" } diff --git a/prettier.config.js b/prettier.config.js deleted file mode 100644 index 9ef99788..00000000 --- a/prettier.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - printWidth: 120, - semi: false, - singleQuote: true, - bracketSpacing: false -}