-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from 53JIlLenWe11/fix/eslint_and_code
Fix/eslint and code
- Loading branch information
Showing
5 changed files
with
54 additions
and
43 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,20 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"jquery": true, | ||
"es6": true, | ||
"webextensions": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module", // ES Moduleを有効にする | ||
"ecmaVersion": 2018 // async functionに対してparse error吐くので最新の記載に対応 | ||
}, | ||
"extends": [ | ||
"eslint:recommended", // ESLintが推奨するチェック項目でまとめてチェックする | ||
"plugin:prettier/recommended" // ESLintでPrettierを実施し、ESLintと衝突ルールは回避する設定を有効にする | ||
// デフォルトで.prettierrcの設定を読み込む | ||
], | ||
"rules": { | ||
"no-console": 1 // consoleを警告する 2はエラーとする | ||
} | ||
} |
This file was deleted.
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
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