Skip to content

Commit

Permalink
chore: bump dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Aug 31, 2022
1 parent 22b6685 commit 15141d2
Show file tree
Hide file tree
Showing 4 changed files with 1,216 additions and 1,280 deletions.
2 changes: 1 addition & 1 deletion .remarkrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"plugins": [
"@1stg/remark-config"
"@1stg/preset"
]
}
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Runs prettier as an eslint rule",
"repository": "git+https://github.com/prettier/eslint-plugin-prettier.git",
"homepage": "https://github.com/prettier/eslint-plugin-prettier#readme",
"funding": "https://opencollective.com/prettier",
"author": "Teddy Katz",
"contributors": [
"JounQin (https://github.com/JounQin) <admin@1stg.me>"
],
"funding": "https://opencollective.com/prettier",
"license": "MIT",
"packageManager": "yarn@1.22.19",
"engines": {
Expand All @@ -27,7 +27,7 @@
"scripts": {
"format": "yarn prettier '**/*.{js,json,md,yml}' --write && yarn lint --fix",
"lint": "eslint . --cache -f friendly --max-warnings 10",
"prepare": "patch-package && simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
"prepare": "simple-git-hooks && yarn-deduplicate --strategy fewer || exit 0",
"prerelease": "yarn format && yarn test",
"release": "changeset publish",
"test": "yarn lint && mocha"
Expand All @@ -42,30 +42,29 @@
}
},
"dependencies": {
"eslint-plugin-prettier": "link:.",
"prettier-linter-helpers": "^1.0.0"
},
"devDependencies": {
"@1stg/common-config": "^6.0.0",
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "^2.23.1",
"@graphql-eslint/eslint-plugin": "^3.10.4",
"@typescript-eslint/parser": "^5.30.5",
"@1stg/common-config": "^7.1.1",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.4",
"@graphql-eslint/eslint-plugin": "^3.10.7",
"@typescript-eslint/parser": "^5.36.1",
"eslint-config-prettier": "^8.5.0",
"eslint-mdx": "^2.0.1",
"eslint-plugin-eslint-plugin": "^4.4.0",
"eslint-plugin-mdx": "^2.0.1",
"eslint-mdx": "^2.0.2",
"eslint-plugin-eslint-plugin": "^5.0.6",
"eslint-plugin-mdx": "^2.0.2",
"eslint-plugin-self": "^1.2.1",
"eslint-plugin-svelte": "^2.2.0",
"eslint-plugin-svelte": "^2.7.0",
"eslint-plugin-svelte3": "^4.0.0",
"graphql": "^16.5.0",
"graphql": "^16.6.0",
"mocha": "^10.0.0",
"patch-package": "^6.4.7",
"svelte": "^3.49.0",
"vue-eslint-parser": "^9.0.3",
"yarn-deduplicate": "^5.0.0"
"yarn-deduplicate": "^6.0.0"
},
"resolutions": {
"@babel/traverse": "^7.18.6",
"eslint-plugin-prettier": "link:.",
"prettier": "^2.7.1"
}
Expand Down
5 changes: 4 additions & 1 deletion test/prettier.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ eslintPluginGraphqlRuleTester.run('eslint-plugin-graphql', rule, {

const mdxRuleTester = new RuleTester({
parser: require.resolve('eslint-mdx'),
parserOptions: require('eslint-mdx').DEFAULT_PARSER_OPTIONS,
parserOptions: {
sourceType: 'module',
ecmaVersion: 'latest',
},
});

mdxRuleTester.run('eslint-plugin-mdx', rule, {
Expand Down
Loading

0 comments on commit 15141d2

Please sign in to comment.