Skip to content

Commit

Permalink
chore: remove @kyleshevlin/eslint-plugin (remirror#1222)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue authored Sep 9, 2021
1 parent 9a4633a commit 76c9fd5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@jest/types": "^27.0.6",
"@kyleshevlin/eslint-plugin": "^1.3.0",
"@linaria/babel-preset": "3.0.0-beta.4",
"@linaria/cli": "3.0.0-beta.4",
"@linaria/shaker": "3.0.0-beta.4",
Expand Down
12 changes: 1 addition & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions support/root/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ let config = {
// For `remirror__lit-components`
'lit',
'lit-a11y',

// For custom hooks
'@kyleshevlin',
],
extends: [
'eslint:recommended',
Expand Down Expand Up @@ -276,9 +273,6 @@ let config = {
'react-hooks/exhaustive-deps': 'error',
'react-hooks/rules-of-hooks': 'error',

// See https://kyleshevlin.com/use-encapsulation
'@kyleshevlin/prefer-custom-hooks': 'warn',

// Built in eslint rules
'no-constant-condition': 'off', // To many false positives
'no-empty': 'warn',
Expand Down Expand Up @@ -348,7 +342,6 @@ let config = {
'@typescript-eslint/no-non-null-assertion': 'off', // Makes writing tests more convenient
'@typescript-eslint/no-use-before-define': 'off',
'react/display-name': 'off',
'@kyleshevlin/prefer-custom-hooks': 'off',
},
},
{
Expand Down Expand Up @@ -523,7 +516,6 @@ if (process.env.FULL_ESLINT_CHECK) {

// Set up rules to be excluded in the markdown blocks.
rules: {
'@kyleshevlin/prefer-custom-hooks': 'off',
'simple-import-sort/exports': 'warn',
'simple-import-sort/imports': 'warn',
'unicorn/filename-case': 'off',
Expand Down

0 comments on commit 76c9fd5

Please sign in to comment.