Skip to content

Commit

Permalink
Merge pull request #60 from SokichiFujita/eslint_config_prettier
Browse files Browse the repository at this point in the history
eslint-config-prettier v8
  • Loading branch information
SokichiFujita authored Feb 23, 2021
2 parents 2fb9a4c + 7035da6 commit 64d977c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ npm start
* [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import)
* [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest)
* [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y)
* [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier)
* [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint) (Optional)
* [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint) (Optional)
* [Prettier](https://prettier.io)
Expand Down
8 changes: 2 additions & 6 deletions bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,13 @@ const eslint = {
"airbnb/hooks",
"plugin:jest/recommended",
"prettier",
"prettier/react",
],
parser: "babel-eslint",
env: {
browser: true,
jest: true,
},
plugins: ["prettier", "jest"],
plugins: ["jest"],
rules: {
"import/prefer-default-export": "off",
"react/jsx-filename-extension": [1, { extensions: [".js"] }],
Expand All @@ -201,17 +200,14 @@ const eslint_ts = {
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended",
"prettier",
"prettier/@typescript-eslint",
"prettier/react",
],
parser: "@typescript-eslint/parser",
env: {
browser: true,
jest: true,
},
plugins: ["prettier", "jest", "@typescript-eslint"],
plugins: ["jest", "@typescript-eslint"],
settings: {
"import/resolver": {
node: {
Expand Down

0 comments on commit 64d977c

Please sign in to comment.