Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
65cef9437a | ||
|
f1b9dc396b | ||
|
b8fe7fe4e7 | ||
|
001de3b060 | ||
|
761a0ce4ee | ||
|
a9d330cac3 |
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-monorepo",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.3",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@7.1.0",
|
||||
"license": "MIT",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"prepare": "pnpm -r run stub",
|
||||
|
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config",
|
||||
"version": "0.24.0",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"version": "0.24.3",
|
||||
"description": "Anthony's ESLint config",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"keywords": [
|
||||
"eslint-config"
|
||||
],
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js"
|
||||
@@ -31,8 +34,5 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.16.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
|
@@ -71,33 +71,47 @@ module.exports = {
|
||||
{
|
||||
pathPattern: '^$',
|
||||
order: [
|
||||
'publisher',
|
||||
'name',
|
||||
'displayName',
|
||||
'type',
|
||||
'version',
|
||||
'private',
|
||||
'packageManager',
|
||||
'description',
|
||||
'keywords',
|
||||
'license',
|
||||
'author',
|
||||
'repository',
|
||||
'license',
|
||||
'funding',
|
||||
'homepage',
|
||||
'repository',
|
||||
'bugs',
|
||||
'keywords',
|
||||
'categories',
|
||||
'sideEffects',
|
||||
'exports',
|
||||
'main',
|
||||
'module',
|
||||
'types',
|
||||
'unpkg',
|
||||
'jsdelivr',
|
||||
'exports',
|
||||
'files',
|
||||
'types',
|
||||
'typesVersions',
|
||||
'bin',
|
||||
'sideEffects',
|
||||
'icon',
|
||||
'files',
|
||||
'engines',
|
||||
'activationEvents',
|
||||
'contributes',
|
||||
'scripts',
|
||||
'peerDependencies',
|
||||
'peerDependenciesMeta',
|
||||
'dependencies',
|
||||
'optionalDependencies',
|
||||
'devDependencies',
|
||||
'pnpm',
|
||||
'overrides',
|
||||
'resolutions',
|
||||
'husky',
|
||||
'simple-git-hooks',
|
||||
'lint-staged',
|
||||
'eslintConfig',
|
||||
],
|
||||
@@ -106,6 +120,14 @@ module.exports = {
|
||||
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies$',
|
||||
order: { type: 'asc' },
|
||||
},
|
||||
{
|
||||
pathPattern: '^exports.*$',
|
||||
order: [
|
||||
'types',
|
||||
'require',
|
||||
'import',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-basic",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.3",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"keywords": [
|
||||
"eslint-config"
|
||||
],
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"*.js"
|
||||
@@ -31,8 +34,5 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.16.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
|
@@ -1,17 +1,11 @@
|
||||
{
|
||||
"name": "eslint-plugin-antfu",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.3",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"require": "./dist/index.cjs",
|
||||
"import": "./dist/index.mjs",
|
||||
"types": "./dist/index.d.ts"
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
|
@@ -1,10 +1,13 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-react",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.3",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"keywords": [
|
||||
"eslint-config"
|
||||
],
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js"
|
||||
@@ -15,9 +18,6 @@
|
||||
"peerDependencies": {
|
||||
"eslint": ">=7.4.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-ts": "workspace:*",
|
||||
"eslint-plugin-react": "^7.30.0"
|
||||
|
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-ts",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.3",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/antfu/eslint-config",
|
||||
"keywords": [
|
||||
"eslint-config"
|
||||
],
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": ">=7.4.0",
|
||||
"typescript": ">=3.9"
|
||||
|
@@ -23,6 +23,7 @@ module.exports = {
|
||||
'vue/require-prop-types': 'off',
|
||||
'vue/require-default-prop': 'off',
|
||||
'vue/multi-word-component-names': 'off',
|
||||
'vue/prefer-import-from-vue': 'off',
|
||||
|
||||
// reactivity transform
|
||||
'vue/no-setup-props-destructure': 'off',
|
||||
|
@@ -1,10 +1,12 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-vue",
|
||||
"version": "0.24.0",
|
||||
"version": "0.24.3",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"eslint-config"
|
||||
],
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
"index.js"
|
||||
@@ -12,9 +14,6 @@
|
||||
"peerDependencies": {
|
||||
"eslint": ">=7.4.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antfu/eslint-config-ts": "workspace:*",
|
||||
"eslint-plugin-vue": "^9.0.1"
|
||||
|
Reference in New Issue
Block a user