Skip to content

Commit

Permalink
eslint系の残ってたのをアップデート
Browse files Browse the repository at this point in the history
  • Loading branch information
mehm8128 committed Oct 9, 2023
1 parent a0b6c56 commit b22c579
Show file tree
Hide file tree
Showing 5 changed files with 161 additions and 602 deletions.
4 changes: 3 additions & 1 deletion eslint-vue-ts-recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
* @typescript-eslint/eslint-recommendedはoverridesが['*.ts','*.tsx']になっている
* そのため、`.vue`内の`<script lang='ts'>`に適用されない
* 適用されるようにするためにoverridesに'*.vue'を追加する
*
* 参考: https://zenn.dev/the_red/articles/5162f9dbbafca3
*/

// eslint-disable-next-line @typescript-eslint/no-var-requires, no-undef
const typescriptEslintEslintRecommended = require('@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended')
const typescriptEslintEslintRecommended = require('./node_modules/@typescript-eslint/eslint-plugin/dist/configs/eslint-recommended')

// eslint-disable-next-line no-undef
module.exports = {
Expand Down
Loading

0 comments on commit b22c579

Please sign in to comment.