Skip to content

Commit

Permalink
fix: deps
Browse files Browse the repository at this point in the history
- fixes #644
- chore(deps): update dependency eslint to v8.19.0
- fix(deps): update dependency eslint-plugin-unicorn to v43
- chore(deps): update jest monorepo
- fix(deps): update nextjs monorepo to v12.2.0
- ix(deps): update babel monorepo to v7.18.6
- fix(deps): update dependency eslint-import-resolver-typescript to v3
- fix(deps): update dependency eslint-plugin-jsx-a11y to v6.6.0
- fix(deps): update dependency eslint-plugin-storybook to v0.5.13
- fix(deps): update dependency eslint-plugin-react to v7.30.1
- fix(deps): update typescript-eslint monorepo to v5.30.5
  • Loading branch information
ljosberinn committed Jul 5, 2022
1 parent 494c272 commit 5ec1749
Show file tree
Hide file tree
Showing 19 changed files with 1,168 additions and 961 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module.exports = createConfig();
const { createConfig } = require('eslint-config-galex/dist/createConfig');

module.exports = createConfig({
incrementalAdoption: true
incrementalAdoption: true,
});
```

Expand All @@ -98,7 +98,7 @@ To generate a static config based on your _current_ dependencies & tsconfig, use
node node_modules/eslint-config-galex/dist/generateStandalone
```

which will create a `.eslintrc--generated.json` in your root directory.
which will create a `.eslintrc.json` in your root directory.

**How do I pass settings for `createConfig` to standalone generation?**

Expand Down
4 changes: 0 additions & 4 deletions __tests__/overrides/__snapshots__/react.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ exports[`createReactRules with next 1`] = `
"@next/next/no-img-element": "off",
"@next/next/no-page-custom-font": "warn",
"@next/next/no-script-component-in-head": "error",
"@next/next/no-server-import-in-page": "error",
"@next/next/no-sync-scripts": "warn",
"@next/next/no-title-in-document-head": "warn",
"@next/next/no-typos": "warn",
Expand Down Expand Up @@ -773,7 +772,6 @@ exports[`createReactRules with typescript and next 1`] = `
"@next/next/no-img-element": "off",
"@next/next/no-page-custom-font": "warn",
"@next/next/no-script-component-in-head": "error",
"@next/next/no-server-import-in-page": "error",
"@next/next/no-sync-scripts": "warn",
"@next/next/no-title-in-document-head": "warn",
"@next/next/no-typos": "warn",
Expand Down Expand Up @@ -2111,7 +2109,6 @@ exports[`override snapshots with next 1`] = `
"@next/next/no-img-element": "off",
"@next/next/no-page-custom-font": "warn",
"@next/next/no-script-component-in-head": "error",
"@next/next/no-server-import-in-page": "error",
"@next/next/no-sync-scripts": "warn",
"@next/next/no-title-in-document-head": "warn",
"@next/next/no-typos": "warn",
Expand Down Expand Up @@ -2404,7 +2401,6 @@ exports[`override snapshots with next and typescript 1`] = `
"@next/next/no-img-element": "off",
"@next/next/no-page-custom-font": "warn",
"@next/next/no-script-component-in-head": "error",
"@next/next/no-server-import-in-page": "error",
"@next/next/no-sync-scripts": "warn",
"@next/next/no-title-in-document-head": "warn",
"@next/next/no-typos": "warn",
Expand Down
48 changes: 42 additions & 6 deletions __tests__/plugins/__snapshots__/eslint-core.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,13 @@ exports[`with create-react-app 1`] = `
"padding-line-between-statements": "off",
"prefer-arrow-callback": "warn",
"prefer-const": "warn",
"prefer-destructuring": "warn",
"prefer-destructuring": [
"warn",
{
"array": false,
"object": true,
},
],
"prefer-exponentiation-operator": "warn",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "warn",
Expand Down Expand Up @@ -732,7 +738,13 @@ exports[`with next 1`] = `
"padding-line-between-statements": "off",
"prefer-arrow-callback": "warn",
"prefer-const": "warn",
"prefer-destructuring": "warn",
"prefer-destructuring": [
"warn",
{
"array": false,
"object": true,
},
],
"prefer-exponentiation-operator": "warn",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "warn",
Expand Down Expand Up @@ -1102,7 +1114,13 @@ exports[`with typescript 1`] = `
"padding-line-between-statements": "off",
"prefer-arrow-callback": "warn",
"prefer-const": "error",
"prefer-destructuring": "warn",
"prefer-destructuring": [
"warn",
{
"array": false,
"object": true,
},
],
"prefer-exponentiation-operator": "warn",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "warn",
Expand Down Expand Up @@ -1472,7 +1490,13 @@ exports[`with typescript and create-react-app 1`] = `
"padding-line-between-statements": "off",
"prefer-arrow-callback": "warn",
"prefer-const": "error",
"prefer-destructuring": "warn",
"prefer-destructuring": [
"warn",
{
"array": false,
"object": true,
},
],
"prefer-exponentiation-operator": "warn",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "warn",
Expand Down Expand Up @@ -1846,7 +1870,13 @@ exports[`with typescript and experimentalDecorators 1`] = `
"padding-line-between-statements": "off",
"prefer-arrow-callback": "warn",
"prefer-const": "error",
"prefer-destructuring": "warn",
"prefer-destructuring": [
"warn",
{
"array": false,
"object": true,
},
],
"prefer-exponentiation-operator": "warn",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "warn",
Expand Down Expand Up @@ -2216,7 +2246,13 @@ exports[`with typescript and next 1`] = `
"padding-line-between-statements": "off",
"prefer-arrow-callback": "warn",
"prefer-const": "error",
"prefer-destructuring": "warn",
"prefer-destructuring": [
"warn",
{
"array": false,
"object": true,
},
],
"prefer-exponentiation-operator": "warn",
"prefer-named-capture-group": "off",
"prefer-numeric-literals": "warn",
Expand Down
Loading

0 comments on commit 5ec1749

Please sign in to comment.