[v0.1.4] use TS/no-redeclare; re-enable no-undef

This commit is contained in:
sup39 2023-02-16 02:48:51 +09:00
parent c8e668a07b
commit ef05de4a01
2 changed files with 4 additions and 7 deletions

View file

@ -11,8 +11,8 @@ module.exports = {
parser: '@typescript-eslint/parser',
rules: {
'no-use-before-define': 'off',
'no-undef': 'off',
// '@typescript-eslint/no-use-before-define': ['error'],
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': ['error'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['warn', {
args: 'after-used',

View file

@ -1,12 +1,9 @@
{
"name": "@sup39/eslint-config-typescript",
"version": "0.1.3",
"version": "0.1.4",
"main": "index.js",
"license": "MIT",
"files": [
"index.js"
],
"description": "eslint config for typescript by sup39",
"description": "Typescript eslint config for sup39",
"repository": "https://github.com/sup39/eslint-config-typescript",
"author": "sup39",
"dependencies": {