Skip to content

Commit

Permalink
Remove eslint-plugin-prettier since it formats differently then prett…
Browse files Browse the repository at this point in the history
…ier it self
  • Loading branch information
felixmosh committed May 27, 2021
1 parent ea19cab commit ce93b4c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 276 deletions.
8 changes: 2 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
module.exports = {
parser: '@typescript-eslint/parser',
root: true,
extends: [
'plugin:react/recommended',
'prettier',
'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
],
plugins: ['@typescript-eslint', 'no-only-tests', 'react', 'prettier'],
extends: ['plugin:react/recommended', 'prettier'],
plugins: ['@typescript-eslint', 'no-only-tests', 'react'],
parserOptions: {
ecmaVersion: 2019, // Allows for the parsing of modern ECMAScript features
sourceType: 'module', // Allows for the use of imports
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.21.5",
"fork-ts-checker-webpack-plugin": "^6.2.10",
"highlight.js": "^10.7.1",
Expand All @@ -95,7 +94,6 @@
"postcss-loader": "^5.3.0",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.3.0",
"prettier-eslint": "^12.0.0",
"pretty-bytes": "5.6.0",
"react": "17.0.2",
"react-dev-utils": "^11.0.1",
Expand Down
Loading

0 comments on commit ce93b4c

Please sign in to comment.