diff --git a/package.json b/package.json index f64699bd..30f07a73 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "build": "webpack --version && webpack --mode production", "build-dev": "webpack --version && webpack --mode development", - "lint": "rome check --apply-suggested src __tests__", + "lint": "rome check --apply-unsafe src __tests__", "format": "rome format --write src __tests__", "rome:fix": "run-s lint format", "jest": "jest --version && jest --verbose --testEnvironment=jsdom --coverage", @@ -54,6 +54,6 @@ "@material-ui/core": "4.12.4", "react": "17.0.2", "react-dom": "17.0.2", - "rome": "^11.0.0" + "rome": "12.1.3" } } diff --git a/rome.json b/rome.json index e0d60d05..1359e09d 100644 --- a/rome.json +++ b/rome.json @@ -6,6 +6,9 @@ "recommended": true, "performance": { "noDelete": "off" + }, + "style": { + "noNonNullAssertion": "off" } }, "ignore": ["__tests__/**/*.snap"] diff --git a/src/extension-contexts/popup.tsx b/src/extension-contexts/popup.tsx index 4ae7bb87..c20f941c 100644 --- a/src/extension-contexts/popup.tsx +++ b/src/extension-contexts/popup.tsx @@ -92,34 +92,34 @@ export const Popup = (props: Props): JSX.Element => { minWidth: '300px', }} > - + - + Options - 設定 - TwitterWeb公式}> + TwitterWeb公式}> {optionsItems[SHOW_ON_TIMELINE]} {optionsItems[SHOW_ON_TWEET_DETAIL]} - TweetDeck}> + TweetDeck}> {optionsItems[SHOW_ON_TWEETDECK_TIMELINE]} {optionsItems[SHOW_ON_TWEETDECK_TWEET_DETAIL]} - 画像ページ}> + 画像ページ}> {optionsItems[STRIP_IMAGE_SUFFIX]}