Skip to content

Commit

Permalink
fix(pencil): replaced failing tsdx lint command
Browse files Browse the repository at this point in the history
Replaced buggy tsdx lint jaredpalmer/tsdx#1056
Package.json eslint non standard prop fails with tsdx due to old eslint
prettier/eslint-plugin-prettier#434
  • Loading branch information
TriStarGod committed Jul 21, 2022
1 parent ad8aae8 commit 387d82c
Show file tree
Hide file tree
Showing 2 changed files with 713 additions and 778 deletions.
75 changes: 5 additions & 70 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"lint": "tsdx lint",
"lint": "eslint .",
"lint-tsdx-fail": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
Expand Down Expand Up @@ -71,82 +72,16 @@
}
}
},
"eslint": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"rules": {
"import/no-named-as-default": 0,
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": [
"react"
],
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"import/prefer-default-export": 0,
"@typescript-eslint/ban-ts-comment": [
2,
{
"ts-expect-error": "allow-with-description",
"minimumDescriptionLength": 2
}
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/explicit-module-boundary-types": 0
}
},
"devDependencies": {
"@size-limit/preset-small-lib": "7.0.8",
"@types/jest": "28.1.6",
"@typescript-eslint/eslint-plugin": "5.30.6",
"@typescript-eslint/parser": "5.30.6",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"ajv": "8.11.0",
"ajv-formats": "2.1.1",
"eslint": "8.20.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-takitotech": "^1.0.0",
"eslint-config-takitotech": "^1.0.2",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.1",
Expand Down
Loading

0 comments on commit 387d82c

Please sign in to comment.