Skip to content

Commit

Permalink
tidy up eslint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-takei committed Jan 21, 2025
1 parent 6542554 commit d371a81
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 64 deletions.
10 changes: 0 additions & 10 deletions apps/app/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ module.exports = {
'weseek/react',
],
plugins: [
'regex',
],
settings: {
// resolve path aliases by eslint-import-resolver-typescript
Expand All @@ -17,15 +16,6 @@ module.exports = {
name: 'axios',
message: 'Please use src/utils/axios instead.',
}],
'regex/invalid': ['error', [
{
regex: '\\?\\<\\!',
message: 'Do not use any negative lookbehind',
}, {
regex: '\\?\\<\\=',
message: 'Do not use any Positive lookbehind',
},
]],
'@typescript-eslint/no-var-requires': 'off',

// set 'warn' temporarily -- 2021.08.02 Yuki Takei
Expand Down
2 changes: 0 additions & 2 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"ejs": "^3.1.10",
"esa-node": "^0.2.2",
"escape-string-regexp": "^4.0.0",
"eslint-plugin-regex": "^1.8.0",
"expose-gc": "^1.0.0",
"express": "^4.20.0",
"express-bunyan-logger": "^1.3.3",
Expand Down Expand Up @@ -283,7 +282,6 @@
"downshift": "^8.2.3",
"eazy-logger": "^3.1.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-regex": "^1.8.0",
"fslightbox-react": "^1.7.6",
"handsontable": "=6.2.2",
"happy-dom": "^15.7.4",
Expand Down
1 change: 0 additions & 1 deletion apps/slackbot-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
"@types/bunyan": "^1.8.11",
"bootstrap": "=5.3.2",
"browser-bunyan": "^1.6.3",
"eslint-plugin-regex": "^1.8.0",
"morgan": "^1.10.0"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"eslint-plugin-playwright": "^1.6.2",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-regex": "^1.8.0",
"eslint-plugin-rulesdir": "^0.2.2",
"eslint-plugin-vitest": "^0.2.3",
"glob": "^8.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"escape-string-regexp": "^4.0.0"
},
"devDependencies": {
"eslint-plugin-regex": "^1.8.0",
"mongoose": "^6.11.3",
"socket.io-client": "^4.7.5",
"swr": "^2.2.2"
Expand Down
1 change: 0 additions & 1 deletion packages/presentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"@types/mdast": "^4.0.4",
"@types/reveal.js": "^4.4.1",
"@types/unist": "^3.0.3",
"eslint-plugin-regex": "^1.8.0",
"hast-util-sanitize": "^5.0.1",
"hast-util-select": "^6.0.2",
"mdast-util-frontmatter": "^2.0.1",
Expand Down
1 change: 0 additions & 1 deletion packages/remark-attachment-refs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"@types/bunyan": "^1.8.11",
"@types/hast": "^3.0.4",
"csstype": "^3.0.2",
"eslint-plugin-regex": "^1.8.0",
"hast-util-sanitize": "^5.0.1",
"hast-util-select": "^6.0.2",
"npm-run-all": "^4.1.5",
Expand Down
1 change: 0 additions & 1 deletion packages/remark-drawio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@types/mdast": "^4.0.4",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"eslint-plugin-regex": "^1.8.0",
"hast-util-sanitize": "^5.0.1",
"pako": "^2.1.0",
"throttle-debounce": "^5.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/remark-lsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"@types/hast": "^3.0.4",
"axios": "^0.24.0",
"is-absolute-url": "^4.0.1",
"eslint-plugin-regex": "^1.8.0",
"hast-util-sanitize": "^5.0.1",
"hast-util-select": "^6.0.2",
"unified": "^11.0.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"devDependencies": {
"@slack/types": "^2.14.0",
"@types/express": "^4",
"@types/qs": "^6.9.16",
"eslint-plugin-regex": "^1.8.0"
"@types/qs": "^6.9.16"
}
}
80 changes: 36 additions & 44 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit d371a81

Please sign in to comment.