Skip to content

Commit

Permalink
fix: configuration changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sumwatshade committed Jun 4, 2021
1 parent 2253aba commit 8638fbd
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 34 deletions.
10 changes: 0 additions & 10 deletions .eslintrc

This file was deleted.

17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
extends: [
"oclif",
"oclif-typescript",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
],
rules: {
"prettier/prettier": "error",
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",
},
};
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,17 @@
"@types/node": "^14.14.31",
"@types/supports-color": "^7.2.0",
"@types/write-json-file": "^3.2.1",
"@typescript-eslint/eslint-plugin": "4.26.0",
"@typescript-eslint/parser": "4.26.0",
"chai": "^4.3.0",
"eslint": "^7.21.0",
"eslint": "7.27.0",
"eslint-config-oclif": "^3.1.0",
"eslint-config-oclif-typescript": "^0.2.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.4.0",
"globby": "^11.0.2",
"jest": "27.0.1",
"prettier": "2.3.0",
"qqjs": "^0.3.11",
"semantic-release": "^17.4.3",
"ts-jest": "27.0.1",
Expand Down Expand Up @@ -76,7 +81,7 @@
},
"repository": "sumwatshade/plugin-update",
"scripts": {
"lint": "eslint . --ext .ts --config .eslintrc",
"lint": "eslint . --ext .ts --config .eslintrc.js",
"test": "jest",
"posttest": "yarn lint",
"prepack": "yarn build && oclif-dev manifest",
Expand Down
6 changes: 6 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
trailingComma: "es5",
tabWidth: 4,
semi: false,
singleQuote: true,
};
Loading

0 comments on commit 8638fbd

Please sign in to comment.