diff --git a/airbnb-react.js b/airbnb-react.js index 0fbaa1695..92c280128 100644 --- a/airbnb-react.js +++ b/airbnb-react.js @@ -7,7 +7,6 @@ module.exports = { extends: [ 'airbnb', ...airbnbConfiguration.extends.slice(1, airbnbConfiguration.extends.length), - 'prettier/react', ], rules: { ...airbnbConfiguration.rules, diff --git a/index.js b/index.js index f7b15bdde..1cafd8e91 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,7 @@ 'use strict'; module.exports = { - extends: [ - 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - ], + extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json', diff --git a/recommended-react.js b/recommended-react.js index 354415dea..408e63c40 100644 --- a/recommended-react.js +++ b/recommended-react.js @@ -7,7 +7,6 @@ module.exports = { extends: [ 'airbnb', ...recommendedConfiguration.extends.slice(1, recommendedConfiguration.extends.length), - 'prettier/react', ], rules: { ...recommendedConfiguration.rules, diff --git a/tests/airbnb-react-hooks-semantics.test.js b/tests/airbnb-react-hooks-semantics.test.js index 916601e91..b68182b25 100644 --- a/tests/airbnb-react-hooks-semantics.test.js +++ b/tests/airbnb-react-hooks-semantics.test.js @@ -11,8 +11,6 @@ describe('Airbnb (React + Hooks)', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/airbnb-react-hooks.test.js b/tests/airbnb-react-hooks.test.js index 3568ad844..f5f65dcb9 100644 --- a/tests/airbnb-react-hooks.test.js +++ b/tests/airbnb-react-hooks.test.js @@ -9,8 +9,6 @@ describe('Airbnb (React + Hooks)', () => { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/airbnb-react-semantics.test.js b/tests/airbnb-react-semantics.test.js index c20b2136b..94b3ef2f0 100644 --- a/tests/airbnb-react-semantics.test.js +++ b/tests/airbnb-react-semantics.test.js @@ -10,8 +10,6 @@ describe('Airbnb (React)', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/airbnb-react.test.js b/tests/airbnb-react.test.js index 020952238..153b8a720 100644 --- a/tests/airbnb-react.test.js +++ b/tests/airbnb-react.test.js @@ -8,8 +8,6 @@ describe('Airbnb (React)', () => { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/airbnb-semantics.test.js b/tests/airbnb-semantics.test.js index 550e631be..fcbea8317 100644 --- a/tests/airbnb-semantics.test.js +++ b/tests/airbnb-semantics.test.js @@ -10,7 +10,6 @@ describe('Airbnb', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/airbnb.test.js b/tests/airbnb.test.js index 90fee1346..4549b4d18 100644 --- a/tests/airbnb.test.js +++ b/tests/airbnb.test.js @@ -8,7 +8,6 @@ describe('Airbnb', () => { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/eslint-semantics.test.js b/tests/eslint-semantics.test.js index 960b58dd5..82d551a69 100644 --- a/tests/eslint-semantics.test.js +++ b/tests/eslint-semantics.test.js @@ -10,7 +10,6 @@ describe('ESLint', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/eslint.test.js b/tests/eslint.test.js index 820d75191..84fb99e8d 100644 --- a/tests/eslint.test.js +++ b/tests/eslint.test.js @@ -8,7 +8,6 @@ describe('ESLint', () => { 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/index.test.js b/tests/index.test.js index 9a627b63f..bb207b8eb 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -3,11 +3,7 @@ const defaultConfiguration = require('../'); describe('Default', () => { test('configuration is exported correctly', () => { expect(defaultConfiguration).toEqual({ - extends: [ - 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - ], + extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, rules: { 'no-undef': 'off' }, diff --git a/tests/recommended-react-hooks-semantics.test.js b/tests/recommended-react-hooks-semantics.test.js index 8a2bf2b3b..c77efa791 100644 --- a/tests/recommended-react-hooks-semantics.test.js +++ b/tests/recommended-react-hooks-semantics.test.js @@ -11,8 +11,6 @@ describe('Airbnb (React + Hooks)', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/recommended-react-hooks.test.js b/tests/recommended-react-hooks.test.js index 41f8a1d41..b0f81e4b8 100644 --- a/tests/recommended-react-hooks.test.js +++ b/tests/recommended-react-hooks.test.js @@ -9,8 +9,6 @@ describe('Airbnb (React + Hooks)', () => { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/recommended-react-semantics.test.js b/tests/recommended-react-semantics.test.js index 49859b58d..ecdc643ef 100644 --- a/tests/recommended-react-semantics.test.js +++ b/tests/recommended-react-semantics.test.js @@ -10,8 +10,6 @@ describe('Airbnb (React)', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/recommended-react.test.js b/tests/recommended-react.test.js index 4d4b5d1a5..1276ee23e 100644 --- a/tests/recommended-react.test.js +++ b/tests/recommended-react.test.js @@ -8,8 +8,6 @@ describe('Recommended (React)', () => { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', - 'prettier/react', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/recommended-semantics.test.js b/tests/recommended-semantics.test.js index b155fa930..77450c99e 100644 --- a/tests/recommended-semantics.test.js +++ b/tests/recommended-semantics.test.js @@ -10,7 +10,6 @@ describe('Airbnb', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/recommended.test.js b/tests/recommended.test.js index 0170dbf31..9724df69e 100644 --- a/tests/recommended.test.js +++ b/tests/recommended.test.js @@ -8,7 +8,6 @@ describe('Recommended', () => { 'plugin:import/typescript', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' }, diff --git a/tests/semantics.test.js b/tests/semantics.test.js index f23d90bec..ebf5461ad 100644 --- a/tests/semantics.test.js +++ b/tests/semantics.test.js @@ -8,7 +8,6 @@ describe('Default', () => { 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', - 'prettier/@typescript-eslint', ], parser: '@typescript-eslint/parser', parserOptions: { project: './tsconfig.json' },