diff --git a/README.md b/README.md index 6e9b87cb2..e73a8056b 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,11 @@ and start a `webpack-dev-server` on port `3000`. Contributions are greatly appreciated. Please fork this repository and open a pull request. +## Credits + +- [create-react-app](https://github.com/facebook/create-react-app) +- [@antfu/eslint-config](https://github.com/antfu/eslint-config) + ## Contact [![Email](https://img.shields.io/badge/-Gmail-ea4335?style=for-the-badge&logo=gmail&logoColor=white)](mailto:sabertazimi@gmail.com) diff --git a/package.json b/package.json index 026618fe9..9605518a6 100644 --- a/package.json +++ b/package.json @@ -52,8 +52,8 @@ }, "packageManager": "yarn@3.0.2", "devDependencies": { - "@dg-scripts/eslint-config": "^1.2.0", - "@dg-scripts/stylelint-config": "^1.2.0", + "@dg-scripts/eslint-config": "*", + "@dg-scripts/stylelint-config": "*", "@types/jest": "^27.0.2", "@types/node": "^16.9.4", "@types/node-fetch": "^2.5.12", diff --git a/packages/eslint-config-basic/index.js b/packages/eslint-config-basic/index.js new file mode 100644 index 000000000..441319644 --- /dev/null +++ b/packages/eslint-config-basic/index.js @@ -0,0 +1,227 @@ +module.exports = { + env: { + browser: true, + es6: true, + node: true, + jest: true, + }, + extends: [ + 'standard', + 'plugin:import/recommended', + 'plugin:eslint-comments/recommended', + 'plugin:jsonc/recommended-with-jsonc', + 'plugin:yml/standard', + ], + plugins: ['html', 'unicorn'], + settings: { + 'import/resolver': { + node: { extensions: ['.js', '.mjs', '.ts', '.d.ts'] }, + }, + }, + overrides: [ + { + files: ['*.json', '*.json5'], + parser: 'jsonc-eslint-parser', + rules: { + quotes: ['error', 'double'], + 'quote-props': ['error', 'always'], + 'comma-dangle': ['error', 'never'], + }, + }, + { + files: ['*.yaml', '*.yml'], + parser: 'yaml-eslint-parser', + }, + { + files: ['package.json'], + parser: 'jsonc-eslint-parser', + rules: { + 'jsonc/sort-keys': [ + 'error', + { + pathPattern: '^$', + order: [ + 'name', + 'version', + 'description', + 'keywords', + 'license', + 'repository', + 'funding', + 'author', + 'type', + 'files', + 'exports', + 'main', + 'module', + 'unpkg', + 'bin', + 'scripts', + 'husky', + 'lint-staged', + 'peerDependencies', + 'peerDependenciesMeta', + 'dependencies', + 'devDependencies', + 'eslintConfig', + ], + }, + { + pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies$', + order: { type: 'asc' }, + }, + ], + }, + }, + { + files: ['*.d.ts'], + rules: { + 'import/no-duplicates': 'off', + }, + }, + { + files: ['*.js'], + rules: { + '@typescript-eslint/no-var-requires': 'off', + }, + }, + { + files: ['scripts/**/*.*'], + rules: { + 'no-console': 'off', + }, + }, + ], + rules: { + // import + 'import/order': 'error', + 'import/first': 'error', + 'import/no-mutable-exports': 'error', + 'import/no-unresolved': 'off', + 'import/no-absolute-path': 'off', + + // Common + semi: ['error', 'always'], + curly: ['error', 'multi-or-nest', 'consistent'], + quotes: ['error', 'single'], + 'quote-props': ['error', 'as-needed'], + 'no-unused-vars': 'warn', + 'no-param-reassign': 'off', + 'array-bracket-spacing': ['error', 'never'], + 'brace-style': ['error', 'stroustrup', { allowSingleLine: true }], + 'block-spacing': ['error', 'always'], + camelcase: 'off', + 'comma-spacing': ['error', { before: false, after: true }], + 'comma-style': ['error', 'last'], + 'comma-dangle': ['error', 'always-multiline'], + 'no-constant-condition': 'warn', + 'no-debugger': 'error', + 'no-console': ['error', { allow: ['warn', 'error'] }], + 'no-cond-assign': ['error', 'always'], + 'func-call-spacing': ['off', 'never'], + 'key-spacing': ['error', { beforeColon: false, afterColon: true }], + indent: [ + 'error', + 2, + { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }, + ], + 'no-restricted-syntax': [ + 'error', + 'DebuggerStatement', + 'ForInStatement', + 'LabeledStatement', + 'WithStatement', + ], + 'object-curly-spacing': ['error', 'always'], + 'no-return-await': 'off', + 'space-before-function-paren': [ + 'error', + { + anonymous: 'always', + named: 'never', + asyncArrow: 'always', + }, + ], + + // es6 + 'no-var': 'error', + 'prefer-const': [ + 'error', + { + destructuring: 'any', + ignoreReadBeforeAssign: true, + }, + ], + 'prefer-arrow-callback': [ + 'error', + { + allowNamedFunctions: false, + allowUnboundThis: true, + }, + ], + 'object-shorthand': [ + 'error', + 'always', + { + ignoreConstructors: false, + avoidQuotes: true, + }, + ], + 'prefer-rest-params': 'error', + 'prefer-spread': 'error', + 'prefer-template': 'error', + 'template-curly-spacing': 'error', + 'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }], + 'generator-star-spacing': 'off', + + // best-practice + 'array-callback-return': 'error', + 'block-scoped-var': 'error', + 'consistent-return': 'off', + complexity: ['off', 11], + eqeqeq: ['error', 'smart'], + 'no-alert': 'warn', + 'no-case-declarations': 'error', + 'no-multi-spaces': 'error', + 'no-multi-str': 'error', + 'no-with': 'error', + 'no-void': 'error', + 'no-useless-escape': 'off', + 'vars-on-top': 'error', + 'require-await': 'off', + 'no-return-assign': 'off', + 'operator-linebreak': ['error', 'before'], + + // unicorns + // Pass error message when throwing errors + 'unicorn/error-message': 'error', + // Uppercase regex escapes + 'unicorn/escape-case': 'error', + // Array.isArray instead of instanceof + 'unicorn/no-array-instanceof': 'error', + // Prevent deprecated `new Buffer()` + 'unicorn/no-new-buffer': 'error', + // Keep regex literals safe! + 'unicorn/no-unsafe-regex': 'off', + // Lowercase number formatting for octal, hex, binary (0x1'error' instead of 0X1'error') + 'unicorn/number-literal-case': 'error', + // ** instead of Math.pow() + 'unicorn/prefer-exponentiation-operator': 'error', + // includes over indexOf when checking for existence + 'unicorn/prefer-includes': 'error', + // String methods startsWith/endsWith instead of more complicated stuff + 'unicorn/prefer-starts-ends-with': 'error', + // textContent instead of innerText + 'unicorn/prefer-text-content': 'error', + // Enforce throwing type error when throwing error while checking typeof + 'unicorn/prefer-type-error': 'error', + // Use new when throwing error + 'unicorn/throw-new-error': 'error', + + 'no-use-before-define': [ + 'error', + { functions: false, classes: false, variables: true }, + ], + 'eslint-comments/disable-enable-pair': 'off', + }, +}; diff --git a/packages/eslint-config-basic/package.json b/packages/eslint-config-basic/package.json new file mode 100644 index 000000000..b5c529bcd --- /dev/null +++ b/packages/eslint-config-basic/package.json @@ -0,0 +1,52 @@ +{ + "name": "@dg-scripts/eslint-config-basic", + "version": "1.2.0", + "description": "ESLint basic configuration used by dg-scripts.", + "keywords": [ + "dg-scripts", + "lint", + "linter", + "standard", + "eslint" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/sabertazimi/bod.git", + "directory": "packages/eslint-config-basic" + }, + "author": "sabertazimi ", + "main": "index.js", + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=14.0.0" + }, + "bugs": { + "url": "https://github.com/sabertazimi/bod/issues" + }, + "homepage": "https://github.com/sabertazimi/bod", + "scripts": { + "lint": "eslint . --config=index.js" + }, + "peerDependencies": { + "eslint": "^7.32.0 || >=8.0.0" + }, + "dependencies": { + "eslint-config-standard": "^16.0.3", + "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-html": "^6.2.0", + "eslint-plugin-import": "^2.24.2", + "eslint-plugin-jsonc": "^1.7.0", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^5.1.0", + "eslint-plugin-unicorn": "^36.0.0", + "eslint-plugin-yml": "^0.10.1", + "jsonc-eslint-parser": "^1.4.1", + "yaml-eslint-parser": "^0.4.1" + }, + "devDependencies": { + "eslint": "^7.32.0" + } +} diff --git a/packages/eslint-config-react/index.js b/packages/eslint-config-react/index.js new file mode 100644 index 000000000..003cc3d81 --- /dev/null +++ b/packages/eslint-config-react/index.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['bod', 'bod/jest'], +}; diff --git a/packages/eslint-config-react/package.json b/packages/eslint-config-react/package.json new file mode 100644 index 000000000..66a018940 --- /dev/null +++ b/packages/eslint-config-react/package.json @@ -0,0 +1,43 @@ +{ + "name": "@dg-scripts/eslint-config-react", + "version": "1.2.0", + "description": "ESLint React configuration used by dg-scripts.", + "keywords": [ + "dg-scripts", + "lint", + "linter", + "standard", + "eslint" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/sabertazimi/bod.git", + "directory": "packages/eslint-config-react" + }, + "author": "sabertazimi ", + "main": "index.js", + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=14.0.0" + }, + "bugs": { + "url": "https://github.com/sabertazimi/bod/issues" + }, + "homepage": "https://github.com/sabertazimi/bod", + "scripts": { + "lint": "eslint . --ext .js,.jsx,.ts,.tsx --config=index.js" + }, + "peerDependencies": { + "eslint": "^7.32.0 || >=8.0.0" + }, + "dependencies": { + "eslint-config-bod": "^5.4.1" + }, + "devDependencies": { + "eslint": "^7.32.0", + "react": "^17.0.2" + } +} diff --git a/packages/eslint-config-ts/index.js b/packages/eslint-config-ts/index.js new file mode 100644 index 000000000..fee477658 --- /dev/null +++ b/packages/eslint-config-ts/index.js @@ -0,0 +1,52 @@ +const basic = require('@dg-scripts/eslint-config-basic'); + +module.exports = { + extends: [ + '@dg-scripts/eslint-config-basic', + 'plugin:@typescript-eslint/recommended', + ], + overrides: basic.overrides, + rules: { + 'import/named': 'off', + + // TS + 'no-useless-constructor': 'off', + '@typescript-eslint/semi': ['error', 'always'], + '@typescript-eslint/member-delimiter-style': [ + 'error', + { multiline: { delimiter: 'none' } }, + ], + '@typescript-eslint/type-annotation-spacing': ['error', {}], + + indent: 'off', + '@typescript-eslint/indent': ['error', 2], + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'error', + 'no-redeclare': 'off', + '@typescript-eslint/no-redeclare': 'error', + 'no-use-before-define': 'off', + '@typescript-eslint/no-use-before-define': [ + 'warn', + { + functions: false, + classes: false, + variables: false, + typedefs: false, + }, + ], + + // off + '@typescript-eslint/camelcase': 'off', + '@typescript-eslint/explicit-function-return-type': 'off', + '@typescript-eslint/explicit-member-accessibility': 'off', + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-parameter-properties': 'off', + '@typescript-eslint/no-empty-interface': 'off', + '@typescript-eslint/ban-ts-ignore': 'off', + '@typescript-eslint/no-empty-function': 'off', + '@typescript-eslint/no-non-null-assertion': 'off', + '@typescript-eslint/ban-ts-comment': 'off', + '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/ban-types': 'off', + }, +}; diff --git a/packages/eslint-config-ts/package.json b/packages/eslint-config-ts/package.json new file mode 100644 index 000000000..f2b06fc3d --- /dev/null +++ b/packages/eslint-config-ts/package.json @@ -0,0 +1,47 @@ +{ + "name": "@dg-scripts/eslint-config-ts", + "version": "1.2.0", + "description": "ESLint TypeScript configuration used by dg-scripts.", + "keywords": [ + "dg-scripts", + "lint", + "linter", + "standard", + "typescript", + "eslint", + "eslint-typescript" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/sabertazimi/bod.git", + "directory": "packages/eslint-config-ts" + }, + "author": "sabertazimi ", + "main": "index.js", + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=14.0.0" + }, + "bugs": { + "url": "https://github.com/sabertazimi/bod/issues" + }, + "homepage": "https://github.com/sabertazimi/bod", + "scripts": { + "lint": "eslint . --config=index.js" + }, + "peerDependencies": { + "eslint": "^7.32.0 || >=8.0.0", + "typescript": "^4.0.0" + }, + "dependencies": { + "@dg-scripts/eslint-config-basic": "^1.2.0", + "@typescript-eslint/eslint-plugin": "^5.0.0", + "@typescript-eslint/parser": "^5.0.0" + }, + "devDependencies": { + "eslint": "^7.32.0" + } +} diff --git a/packages/eslint-config-vue/index.js b/packages/eslint-config-vue/index.js new file mode 100644 index 000000000..3ebe1e08d --- /dev/null +++ b/packages/eslint-config-vue/index.js @@ -0,0 +1,26 @@ +module.exports = { + overrides: [ + { + files: ['*.vue'], + parser: 'vue-eslint-parser', + parserOptions: { + parser: '@typescript-eslint/parser', + }, + rules: { + 'no-unused-vars': 'off', + 'no-undef': 'off', + '@typescript-eslint/no-unused-vars': 'off', + 'react-hooks/rules-of-hooks': 'off', + 'react-hooks/exhaustive-deps': 'off', + }, + }, + ], + extends: ['plugin:vue/vue3-recommended', '@dg-scripts/eslint-config-ts'], + rules: { + 'vue/max-attributes-per-line': ['warn', { singleline: 5 }], + 'vue/html-self-closing': 'off', + 'vue/no-v-html': 'off', + 'vue/require-prop-types': 'off', + 'vue/require-default-prop': 'off', + }, +}; diff --git a/packages/eslint-config-vue/package.json b/packages/eslint-config-vue/package.json new file mode 100644 index 000000000..1d78e1421 --- /dev/null +++ b/packages/eslint-config-vue/package.json @@ -0,0 +1,44 @@ +{ + "name": "@dg-scripts/eslint-config-vue", + "version": "1.2.0", + "description": "ESLint Vue configuration used by dg-scripts.", + "keywords": [ + "dg-scripts", + "lint", + "linter", + "standard", + "eslint" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/sabertazimi/bod.git", + "directory": "packages/eslint-config-vue" + }, + "author": "sabertazimi ", + "main": "index.js", + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=14.0.0" + }, + "bugs": { + "url": "https://github.com/sabertazimi/bod/issues" + }, + "homepage": "https://github.com/sabertazimi/bod", + "scripts": { + "lint": "eslint . --config=index.js" + }, + "peerDependencies": { + "eslint": "^7.32.0 || >=8.0.0", + "typescript": "^4.0.0" + }, + "dependencies": { + "@dg-scripts/eslint-config-ts": "^1.2.0", + "eslint-plugin-vue": "^7.19.1" + }, + "devDependencies": { + "eslint": "^7.32.0" + } +} diff --git a/packages/eslint-config/index.js b/packages/eslint-config/index.js new file mode 100644 index 000000000..92ee4a5e8 --- /dev/null +++ b/packages/eslint-config/index.js @@ -0,0 +1,7 @@ +module.exports = { + extends: [ + '@dg-scripts/eslint-config-react', + '@dg-scripts/eslint-config-vue', + 'plugin:prettier/recommended', + ], +}; diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json new file mode 100644 index 000000000..993c7a2c0 --- /dev/null +++ b/packages/eslint-config/package.json @@ -0,0 +1,50 @@ +{ + "name": "@dg-scripts/eslint-config", + "version": "1.2.0", + "description": "ESLint configuration used by dg-scripts.", + "keywords": [ + "dg-scripts", + "lint", + "linter", + "prettier", + "standard", + "eslint", + "eslint-prettier" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/sabertazimi/bod.git", + "directory": "packages/eslint-config" + }, + "author": "sabertazimi ", + "main": "index.js", + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=14.0.0" + }, + "bugs": { + "url": "https://github.com/sabertazimi/bod/issues" + }, + "homepage": "https://github.com/sabertazimi/bod", + "scripts": { + "lint": "eslint . --config=index.js" + }, + "peerDependencies": { + "eslint": "^7.32.0 || >=8.0.0", + "prettier": "^2.4.0", + "typescript": "^4.0.0" + }, + "dependencies": { + "@dg-scripts/eslint-config-react": "^1.2.0", + "@dg-scripts/eslint-config-vue": "^1.2.0", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-prettier": "^4.0.0" + }, + "devDependencies": { + "eslint": "^7.32.0", + "prettier": "^2.4.1" + } +} diff --git a/packages/stylelint-config/index.js b/packages/stylelint-config/index.js new file mode 100644 index 000000000..f6cce662c --- /dev/null +++ b/packages/stylelint-config/index.js @@ -0,0 +1,3 @@ +module.exports = { + extends: ['stylelint-config-bod', 'stylelint-prettier/recommended'], +}; diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json new file mode 100644 index 000000000..e005a25c3 --- /dev/null +++ b/packages/stylelint-config/package.json @@ -0,0 +1,54 @@ +{ + "name": "@dg-scripts/stylelint-config", + "version": "1.2.0", + "description": "StyleLint configuration used by dg-scripts.", + "keywords": [ + "dg-scripts", + "a11y", + "css", + "lint", + "linter", + "order", + "idomatic-css", + "prettier", + "standard", + "stylelint", + "stylelint-a11y", + "stylelint-config", + "stylelint-order", + "stylelint-plugin", + "stylelint-prettier", + "stylelint-standard" + ], + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/sabertazimi/bod.git", + "directory": "packages/stylelint-config" + }, + "author": "sabertazimi ", + "main": "index.js", + "publishConfig": { + "access": "public" + }, + "engines": { + "node": ">=14.0.0" + }, + "bugs": { + "url": "https://github.com/sabertazimi/bod/issues" + }, + "homepage": "https://github.com/sabertazimi/bod", + "peerDependencies": { + "prettier": "^2.4.0", + "stylelint": "^13.13.0" + }, + "dependencies": { + "stylelint-config-bod": "^5.3.12", + "stylelint-config-prettier": "^8.0.2", + "stylelint-prettier": "^1.2.0" + }, + "devDependencies": { + "prettier": "^2.4.1", + "stylelint": "^13.13.1" + } +} diff --git a/yarn.lock b/yarn.lock index a1bb6376b..3e59d915d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1721,10 +1721,11 @@ __metadata: languageName: node linkType: hard -"@dg-scripts/eslint-config-basic@npm:^1.2.0": - version: 1.2.0 - resolution: "@dg-scripts/eslint-config-basic@npm:1.2.0" +"@dg-scripts/eslint-config-basic@^1.2.0, @dg-scripts/eslint-config-basic@workspace:packages/eslint-config-basic": + version: 0.0.0-use.local + resolution: "@dg-scripts/eslint-config-basic@workspace:packages/eslint-config-basic" dependencies: + eslint: ^7.32.0 eslint-config-standard: ^16.0.3 eslint-plugin-eslint-comments: ^3.2.0 eslint-plugin-html: ^6.2.0 @@ -1738,77 +1739,79 @@ __metadata: yaml-eslint-parser: ^0.4.1 peerDependencies: eslint: ^7.32.0 || >=8.0.0 - checksum: 666c1fd6b6e48868d94d272fd807a11135ba4c18637454005d4f36e67466558e5ae2a15058933ef7750c39dce9cc031697902f004b6e665bd74e42e2ac7e0cf9 - languageName: node - linkType: hard + languageName: unknown + linkType: soft -"@dg-scripts/eslint-config-react@npm:^1.2.0": - version: 1.2.0 - resolution: "@dg-scripts/eslint-config-react@npm:1.2.0" +"@dg-scripts/eslint-config-react@^1.2.0, @dg-scripts/eslint-config-react@workspace:packages/eslint-config-react": + version: 0.0.0-use.local + resolution: "@dg-scripts/eslint-config-react@workspace:packages/eslint-config-react" dependencies: - eslint-config-bod: ^5.4.0 + eslint: ^7.32.0 + eslint-config-bod: ^5.4.1 + react: ^17.0.2 peerDependencies: eslint: ^7.32.0 || >=8.0.0 - checksum: d25bf7453275fd942ebac28761698fe297db1aa56f8b61a67b74fe31e272a84b7271301ce694b032e0b4886db39947db5c64fab50a1642b644d3096f58a6769e - languageName: node - linkType: hard + languageName: unknown + linkType: soft -"@dg-scripts/eslint-config-ts@npm:^1.2.0": - version: 1.2.0 - resolution: "@dg-scripts/eslint-config-ts@npm:1.2.0" +"@dg-scripts/eslint-config-ts@^1.2.0, @dg-scripts/eslint-config-ts@workspace:packages/eslint-config-ts": + version: 0.0.0-use.local + resolution: "@dg-scripts/eslint-config-ts@workspace:packages/eslint-config-ts" dependencies: "@dg-scripts/eslint-config-basic": ^1.2.0 "@typescript-eslint/eslint-plugin": ^5.0.0 "@typescript-eslint/parser": ^5.0.0 + eslint: ^7.32.0 peerDependencies: eslint: ^7.32.0 || >=8.0.0 typescript: ^4.0.0 - checksum: b25eac3be54605a83f896fdabab501b48b1349ec0a509d8a63a0449345c9cbf5ed9c82c3558827cbfcb2886b12a838d7afc74755dd07fb9b2d1f20f941d1331b - languageName: node - linkType: hard + languageName: unknown + linkType: soft -"@dg-scripts/eslint-config-vue@npm:^1.2.0": - version: 1.2.0 - resolution: "@dg-scripts/eslint-config-vue@npm:1.2.0" +"@dg-scripts/eslint-config-vue@^1.2.0, @dg-scripts/eslint-config-vue@workspace:packages/eslint-config-vue": + version: 0.0.0-use.local + resolution: "@dg-scripts/eslint-config-vue@workspace:packages/eslint-config-vue" dependencies: "@dg-scripts/eslint-config-ts": ^1.2.0 + eslint: ^7.32.0 eslint-plugin-vue: ^7.19.1 peerDependencies: eslint: ^7.32.0 || >=8.0.0 typescript: ^4.0.0 - checksum: 52dfbe3ea25a28c6ca0a764a5962f21534a432d748058757f26d11898503e0a68a2a443ceae009bb02555c4e2c49d18e3f3776071ab4ab4b410a097895d0abfa - languageName: node - linkType: hard + languageName: unknown + linkType: soft -"@dg-scripts/eslint-config@npm:^1.2.0": - version: 1.2.0 - resolution: "@dg-scripts/eslint-config@npm:1.2.0" +"@dg-scripts/eslint-config@*, @dg-scripts/eslint-config@workspace:packages/eslint-config": + version: 0.0.0-use.local + resolution: "@dg-scripts/eslint-config@workspace:packages/eslint-config" dependencies: "@dg-scripts/eslint-config-react": ^1.2.0 "@dg-scripts/eslint-config-vue": ^1.2.0 + eslint: ^7.32.0 eslint-config-prettier: ^8.3.0 eslint-plugin-prettier: ^4.0.0 + prettier: ^2.4.1 peerDependencies: eslint: ^7.32.0 || >=8.0.0 prettier: ^2.4.0 typescript: ^4.0.0 - checksum: 8e23cadd41a00aceffd916d71244c18b59d9cced9062a0cf97e12ca36866f9095dfcc0bee3cd6afa7ad6d976f88f0e529f54a1d3c7685e3bf3d67ec4990e35dc - languageName: node - linkType: hard + languageName: unknown + linkType: soft -"@dg-scripts/stylelint-config@npm:^1.2.0": - version: 1.2.0 - resolution: "@dg-scripts/stylelint-config@npm:1.2.0" +"@dg-scripts/stylelint-config@*, @dg-scripts/stylelint-config@workspace:packages/stylelint-config": + version: 0.0.0-use.local + resolution: "@dg-scripts/stylelint-config@workspace:packages/stylelint-config" dependencies: + prettier: ^2.4.1 + stylelint: ^13.13.1 stylelint-config-bod: ^5.3.12 stylelint-config-prettier: ^8.0.2 stylelint-prettier: ^1.2.0 peerDependencies: prettier: ^2.4.0 stylelint: ^13.13.0 - checksum: bc985be58a8e5416d499998d228b8bf6eca7ad29ca674b0de590636b41169141458bd1d4d923a2ef4a108fd74edfe688f051c02d14b38a29ef7d394929146a2f - languageName: node - linkType: hard + languageName: unknown + linkType: soft "@docsearch/css@npm:3.0.0-alpha.40": version: 3.0.0-alpha.40 @@ -7782,8 +7785,8 @@ __metadata: version: 0.0.0-use.local resolution: "create-bod-app@workspace:." dependencies: - "@dg-scripts/eslint-config": ^1.2.0 - "@dg-scripts/stylelint-config": ^1.2.0 + "@dg-scripts/eslint-config": "*" + "@dg-scripts/stylelint-config": "*" "@types/jest": ^27.0.2 "@types/node": ^16.9.4 "@types/node-fetch": ^2.5.12 @@ -9331,7 +9334,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-bod@^5.4.0, eslint-config-bod@^5.4.1, eslint-config-bod@workspace:packages/eslint-config-bod": +"eslint-config-bod@^5.4.1, eslint-config-bod@workspace:packages/eslint-config-bod": version: 0.0.0-use.local resolution: "eslint-config-bod@workspace:packages/eslint-config-bod" dependencies: