-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add prettier and eslint BREAKING CHANGE: Update proejct
- Loading branch information
Showing
9 changed files
with
2,968 additions
and
1,784 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
node: true, | ||
}, | ||
extends: ['plugin:react/recommended'], | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 12, | ||
sourceType: 'module', | ||
}, | ||
plugins: ['react', '@typescript-eslint'], | ||
rules: {}, | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
extensions: ['.js', '.jsx', '.ts', '.tsx'], | ||
}, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "all", | ||
"printWidth": 100, | ||
"singleQuote": true | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,26 @@ | ||
export const cities = [ | ||
"台北市", | ||
"基隆市", | ||
"新北市", | ||
"桃園市", | ||
"新竹市", | ||
"新竹縣", | ||
"苗栗縣", | ||
"台中市", | ||
"彰化縣", | ||
"南投縣", | ||
"雲林縣", | ||
"嘉義市", | ||
"嘉義縣", | ||
"台南市", | ||
"高雄市", | ||
"屏東縣", | ||
"台東縣", | ||
"花蓮縣", | ||
"宜蘭縣", | ||
"澎湖縣", | ||
"金門縣", | ||
"連江縣", | ||
const cities = [ | ||
'台北市', | ||
'基隆市', | ||
'新北市', | ||
'桃園市', | ||
'新竹市', | ||
'新竹縣', | ||
'苗栗縣', | ||
'台中市', | ||
'彰化縣', | ||
'南投縣', | ||
'雲林縣', | ||
'嘉義市', | ||
'嘉義縣', | ||
'台南市', | ||
'高雄市', | ||
'屏東縣', | ||
'台東縣', | ||
'花蓮縣', | ||
'宜蘭縣', | ||
'澎湖縣', | ||
'金門縣', | ||
'連江縣', | ||
]; | ||
|
||
export default cities; |
Oops, something went wrong.