eslint-config-wanews-base
Advanced tools
Comparing version
34
index.js
@@ -1,18 +0,20 @@ | ||
"use strict"; | ||
"use strict" | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
"prettier/@typescript-eslint" | ||
], | ||
rules: { | ||
"@typescript-eslint/explicit-function-return-type": 0, | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
"@typescript-eslint/no-use-before-define": 0 | ||
}, | ||
}; | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint"], | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier", | ||
"prettier/@typescript-eslint", | ||
], | ||
rules: { | ||
"@typescript-eslint/explicit-function-return-type": 0, | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
"@typescript-eslint/no-use-before-define": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/array-type": [1, { default: "array-simple" }], | ||
}, | ||
} |
{ | ||
"name": "eslint-config-wanews-base", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# WANews eslint config | ||
[](https://travis-ci.com/sevenwestmedia-labs/eslint-config-wanews-base) | ||
[](https://travis-ci.com/sevenwestmedia-labs/eslint-config-wanews-base) [](https://greenkeeper.io/) | ||
@@ -4,0 +4,0 @@ Configured for typescript |
4106
14.25%7
75%22
29.41%