Skip to content

Commit

Permalink
Merge pull request #331 from uyupun/feat/json_to_yml
Browse files Browse the repository at this point in the history
JSONの設定をYAMLに変更
  • Loading branch information
tyokinuhata authored Dec 5, 2023
2 parents 90d954d + 0310eb1 commit 2c437d1
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 61 deletions.
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"tyokinuhata",
"uyupunpopunpo",
"webp",
"vercel"
"vercel",
"eqeqeq"
]
}
]
Expand Down
54 changes: 0 additions & 54 deletions .eslintrc.json

This file was deleted.

51 changes: 51 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
env:
browser: true
node: true
es2021: true

extends:
- standard-with-typescript
- next/core-web-vitals
- prettier

parser: '@typescript-eslint/parser'

parserOptions:
ecmaVersion: latest
sourceType: module
project: ./tsconfig.eslint.json
jsx: true

rules:
import/order:
- warn
- groups:
- builtin
- external
- internal
- parent
- sibling
- index
- object
- type
newlines-between: always
pathGroupsExcludedImportTypes:
- builtin
alphabetize:
order: asc
caseInsensitive: true
eqeqeq: error
'@typescript-eslint/no-misused-promises':
- error
- checksVoidReturn:
attributes: false
'@typescript-eslint/consistent-type-definitions':
- error
- type
react/jsx-sort-props: warn

overrides:
- files:
- next-env.d.ts
rules:
'@typescript-eslint/triple-slash-reference': off
6 changes: 0 additions & 6 deletions .prettierrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
printWidth: 100
tabWidth: 2
singleQuote: true
semi: true

0 comments on commit 2c437d1

Please sign in to comment.