Skip to content

Commit

Permalink
Update all deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Jan 15, 2024
1 parent 82d31b3 commit a28f0e9
Show file tree
Hide file tree
Showing 7 changed files with 3,962 additions and 4,924 deletions.
14 changes: 10 additions & 4 deletions eslint.config.js → .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@ module.exports = {
'airbnb-typescript',
'plugin:@typescript-eslint/recommended',
'plugin:eslint-comments/recommended',
'plugin:jest/recommended',
'plugin:import/react-native',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
'plugin:prettier/recommended',
],
plugins: ['progress', '@typescript-eslint', 'import', 'json', 'html', 'jsx-a11y', 'prettier'],
plugins: [
'file-progress',
'@typescript-eslint',
'import',
'json',
'html',
'jsx-a11y',
'prettier',
],
env: {
es6: true,
'jest/globals': true,
node: true,
},
parserOptions: {
Expand Down Expand Up @@ -68,7 +74,7 @@ module.exports = {
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-var-requires': 'off',
'progress/activate': 1,
'file-progress/activate': 1,
'class-methods-use-this': 'off',
'import/default': 'error',
'import/extensions': [
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./eslint.config');
module.exports = require('./.eslintrc');
55 changes: 27 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/linter-config",
"version": "3.1.2",
"version": "4.0.0",
"private": false,
"description": "The config storybook uses to lint code",
"keywords": [
Expand All @@ -18,15 +18,15 @@
"author": "Norbert de Langen",
"files": [
"README.md",
"eslint.config.js",
".eslintrc.js",
"index.js",
"remark.config.js",
"prettier.config.js"
],
"main": "index.js",
"eslintConfig": {
"extends": [
"./eslint.config.js"
"./.eslintrc.js"
],
"parserOptions": {
"project": [
Expand All @@ -36,39 +36,38 @@
},
"scripts": {
"test": "npm run test:eslint && npm run test:conflicts",
"test:eslint": "eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives ./test",
"test:eslint": "eslint -c package.json --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives ./test",
"test:conflicts": "eslint-config-prettier eslint.config.js"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^4.27.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^6.1.2",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-json": "^3.0.0",
"eslint-plugin-json-files": "^1.1.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-progress": "^0.0.1",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"remark-cli": "^9.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-recommended": "^5.0.0"
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-json-files": "^4.1.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-file-progress": "^1.3.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"remark-cli": "^12.0.0",
"remark-lint": "^9.1.2",
"remark-preset-lint-recommended": "^6.1.3"
},
"devDependencies": {
"@types/react": "^17.0.11",
"eslint": "^7.28.0",
"jest": "^27.0.4",
"prettier": "^2.3.1",
"react": "17.0.1",
"remark": "^13.0.0",
"typescript": "^4.3.4"
"@types/react": "^18.2.48",
"eslint": "^8.56.0",
"prettier": "^3.2.2",
"react": "^18.2.0",
"remark": "^15.0.1",
"typescript": "^5.3.3"
},
"peerDependencies": {
"remark": "^12.0.0 || ^13.0.0"
"remark": "^14.0.0 || ^15.0.0"
},
"collective": {
"type": "opencollective",
Expand Down
Loading

0 comments on commit a28f0e9

Please sign in to comment.