Skip to content

Commit

Permalink
remove jsdocs indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
balanza committed Apr 13, 2021
1 parent 706f193 commit e5865bb
Showing 1 changed file with 55 additions and 50 deletions.
105 changes: 55 additions & 50 deletions strong.js
Original file line number Diff line number Diff line change
@@ -1,69 +1,74 @@
/* eslint-disable */
module.exports = {
extends: "./recommended.js",
plugins: ["eslint-plugin-jsdoc", "eslint-plugin-prefer-arrow", "extra-rules", "fp"],
plugins: [
"eslint-plugin-jsdoc",
"eslint-plugin-prefer-arrow",
"extra-rules",
"fp"
],
rules: {
"@typescript-eslint/adjacent-overload-signatures": "error",
"@typescript-eslint/ban-types": [
"error",
{
types: {
Object: {
message: "Avoid using the `Object` type. Did you mean `object`?",
},
Function: {
message: "Avoid using the `Function` type. Prefer a specific function type, like `() => void`.",
},
Boolean: {
message: "Avoid using the `Boolean` type. Did you mean `boolean`?",
},
Number: {
message: "Avoid using the `Number` type. Did you mean `number`?",
},
String: {
message: "Avoid using the `String` type. Did you mean `string`?",
},
Symbol: {
message: "Avoid using the `Symbol` type. Did you mean `symbol`?",
},
},
},
"types": {
"Object": {
"message": "Avoid using the `Object` type. Did you mean `object`?"
},
"Function": {
"message": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."
},
"Boolean": {
"message": "Avoid using the `Boolean` type. Did you mean `boolean`?"
},
"Number": {
"message": "Avoid using the `Number` type. Did you mean `number`?"
},
"String": {
"message": "Avoid using the `String` type. Did you mean `string`?"
},
"Symbol": {
"message": "Avoid using the `Symbol` type. Did you mean `symbol`?"
}
}
}
],
"@typescript-eslint/consistent-type-assertions": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/explicit-member-accessibility": [
"error",
{
accessibility: "explicit",
overrides: {
constructors: "no-public",
},
},
"error",
{
"accessibility": "explicit",
"overrides": {
"constructors": "no-public"
}
}
],
"@typescript-eslint/member-ordering": "error",
"@typescript-eslint/naming-convention": "error",
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-namespace-keyword": "error",
"@typescript-eslint/triple-slash-reference": [
"error",
{
path: "always",
types: "prefer-import",
lib: "always",
},
"error",
{
"path": "always",
"types": "prefer-import",
"lib": "always"
}
],
"id-blacklist": [
"error",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined",
"error",
"any",
"Number",
"number",
"String",
"string",
"Boolean",
"boolean",
"Undefined",
"undefined"
],
"jsdoc/check-alignment": "error",
"jsdoc/newline-after-description": "error",
Expand All @@ -77,10 +82,10 @@ module.exports = {
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/prefer-optional-chain": "error",
"@typescript-eslint/no-shadow": [
"error",
{
hoist: "all",
},
"error",
{
"hoist": "all"
}
],
"sort-keys": "error",
"extra-rules/no-commented-out-code": "error",
Expand All @@ -90,6 +95,6 @@ module.exports = {
"default-case": "error",
"functional/prefer-readonly-type": "error",
"functional/no-method-signature": "error",
"fp/no-delete": "error",
"fp/no-delete": "error"
},
};

0 comments on commit e5865bb

Please sign in to comment.