chore: bump strapi/eslint-config to 0.2.0

This commit is contained in:
Josh 2023-07-28 08:02:17 +01:00
parent f426350b85
commit 1f2f103093
5 changed files with 427 additions and 490 deletions

View File

@ -70,7 +70,7 @@
"@babel/preset-react": "7.18.6",
"@playwright/test": "1.37.0-alpha-jul-20-2023",
"@strapi/admin-test-utils": "workspace:*",
"@strapi/eslint-config": "0.1.2",
"@strapi/eslint-config": "0.2.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.58",
"@swc/helpers": "0.5.1",
@ -88,12 +88,16 @@
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^8.9.0",
"eslint-import-resolver-typescript": "3.5.5",
"eslint-plugin-check-file": "2.5.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest-dom": "5.0.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "5.11.0",
"execa": "5.1.1",
"find-up": "5.0.0",
"fs-extra": "10.0.0",

View File

@ -1,5 +1,5 @@
module.exports = {
extends: '@strapi/eslint-config/back',
extends: '@strapi/eslint-config/back/javascript',
parserOptions: {
ecmaVersion: 2021,
},

View File

@ -1,9 +1,7 @@
const path = require('path');
module.exports = {
root: true,
extends: [
'@strapi/eslint-config/typescript' /*'plugin:@typescript-eslint/recommended-requiring-type-checking'*/,
'@strapi/eslint-config/back/typescript' /*'plugin:@typescript-eslint/recommended-requiring-type-checking'*/,
],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
@ -17,7 +15,7 @@ module.exports = {
...require('../back').rules,
'node/no-unsupported-features/es-syntax': 'off',
'node/no-missing-import': 'off',
// TODO: The following rules from @strapi/eslint-config/typescript are disabled because they're causing problems we need to solve or fix
// TODO: The following rules from @strapi/eslint-config/back/typescript are disabled because they're causing problems we need to solve or fix
// to be solved in configuration
'node/no-unsupported-features/es-syntax': 'off',
'import/prefer-default-export': 'off',

View File

@ -1,6 +1,6 @@
module.exports = {
parser: '@babel/eslint-parser',
extends: ['@strapi/eslint-config/front'],
extends: ['@strapi/eslint-config/front/javascript'],
env: {
browser: true,
commonjs: true,

901
yarn.lock

File diff suppressed because it is too large Load Diff