Compare commits

...

6 Commits

Author SHA1 Message Date
Anthony Fu
7ce57bfbf1 v0.3.4 2020-10-20 12:21:58 +08:00
Anthony Fu
c0c3070075 chore: update deps 2020-10-20 12:21:44 +08:00
Anthony Fu
91a8757a8c v0.3.3 2020-08-22 00:07:57 +08:00
Anthony Fu
245001d081 fix: disable import/no-absolute-path 2020-08-22 00:02:01 +08:00
Anthony Fu
e25761fcfc v0.3.2 2020-08-12 20:09:11 +08:00
Anthony Fu
7dd8ffaed0 chore: lint 2020-08-12 20:08:06 +08:00
17 changed files with 561 additions and 314 deletions

View File

@@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
### Bug Fixes
* disable import/no-absolute-path ([245001d](https://github.com/antfu/eslint-config/commit/245001d08129b3ec4961741d596f70abb2c9be5f))
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-monorepo
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) ## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)

View File

@@ -2,5 +2,5 @@
"packages": [ "packages": [
"packages/*" "packages/*"
], ],
"version": "0.3.1" "version": "0.3.4"
} }

View File

@@ -6,12 +6,13 @@
"private": true, "private": true,
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm", "preinstall": "npx only-allow pnpm",
"lint": "npx eslint --ext .js --fix .",
"release": "lerna publish --conventional-commits" "release": "lerna publish --conventional-commits"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "*", "@antfu/eslint-config": "*",
"eslint": "^7.6.0", "eslint": "^7.11.0",
"lerna": "^3.22.1", "lerna": "^3.22.1",
"typescript": "^3.9.7" "typescript": "^4.0.3"
} }
} }

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) ## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config **Note:** Version bump only for package @antfu/eslint-config

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config", "name": "@antfu/eslint-config",
"version": "0.3.1", "version": "0.3.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],
@@ -16,7 +16,10 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-react": "^0.3.1", "@antfu/eslint-config-react": "^0.3.4",
"@antfu/eslint-config-vue": "^0.3.1" "@antfu/eslint-config-vue": "^0.3.4"
},
"devDependencies": {
"eslint": "^7.11.0"
} }
} }

View File

@@ -3,6 +3,33 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-basic
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
### Bug Fixes
* disable import/no-absolute-path ([245001d](https://github.com/antfu/eslint-config/commit/245001d08129b3ec4961741d596f70abb2c9be5f))
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-basic
# [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12) # [0.3.0](https://github.com/antfu/eslint-config/compare/v0.2.14...v0.3.0) (2020-08-12)

View File

@@ -24,17 +24,18 @@ module.exports = {
'import/first': 'error', 'import/first': 'error',
'import/no-mutable-exports': 'error', 'import/no-mutable-exports': 'error',
'import/no-unresolved': 'off', 'import/no-unresolved': 'off',
'import/no-absolute-path': 'off',
// Common // Common
'semi': [2, 'never'], semi: [2, 'never'],
'curly': [2, 'multi-or-nest', 'consistent'], curly: [2, 'multi-or-nest', 'consistent'],
'quotes': ['error', 'single'], quotes: ['error', 'single'],
'no-unused-vars': 'warn', 'no-unused-vars': 'warn',
'no-param-reassign': 'off', 'no-param-reassign': 'off',
'array-bracket-spacing': ['error', 'never'], 'array-bracket-spacing': ['error', 'never'],
'brace-style': ['error', 'stroustrup', { 'allowSingleLine': true }], 'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
'block-spacing': ['error', 'always'], 'block-spacing': ['error', 'always'],
'camelcase': 'off', camelcase: 'off',
'comma-spacing': ['error', { before: false, after: true }], 'comma-spacing': ['error', { before: false, after: true }],
'comma-style': ['error', 'last'], 'comma-style': ['error', 'last'],
'comma-dangle': ['error', 'always-multiline'], 'comma-dangle': ['error', 'always-multiline'],
@@ -44,7 +45,7 @@ module.exports = {
'no-cond-assign': ['error', 'always'], 'no-cond-assign': ['error', 'always'],
'func-call-spacing': ['off', 'never'], 'func-call-spacing': ['off', 'never'],
'key-spacing': ['error', { beforeColon: false, afterColon: true }], 'key-spacing': ['error', { beforeColon: false, afterColon: true }],
'indent': ['error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }], indent: ['error', 2, { SwitchCase: 1, VariableDeclarator: 1, outerIIFEBody: 1 }],
'no-restricted-syntax': [ 'no-restricted-syntax': [
'error', 'error',
'DebuggerStatement', 'DebuggerStatement',
@@ -82,8 +83,8 @@ module.exports = {
'array-callback-return': 'error', 'array-callback-return': 'error',
'block-scoped-var': 'error', 'block-scoped-var': 'error',
'consistent-return': 'off', 'consistent-return': 'off',
'complexity': ['off', 11], complexity: ['off', 11],
'eqeqeq': ['error', 'allow-null'], eqeqeq: ['error', 'allow-null'],
'no-alert': 'warn', 'no-alert': 'warn',
'no-case-declarations': 'error', 'no-case-declarations': 'error',
'no-multi-spaces': 'error', 'no-multi-spaces': 'error',

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-basic", "name": "@antfu/eslint-config-basic",
"version": "0.3.0", "version": "0.3.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],
@@ -20,14 +20,14 @@
}, },
"dependencies": { "dependencies": {
"eslint-config-standard": "^14.1.1", "eslint-config-standard": "^14.1.1",
"eslint-plugin-html": "^6.0.3", "eslint-plugin-html": "^6.1.0",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1", "eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1", "eslint-plugin-standard": "^4.0.1",
"eslint-plugin-unicorn": "^21.0.0" "eslint-plugin-unicorn": "^23.0.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.6.0" "eslint": "^7.11.0"
} }
} }

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-react
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) ## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-react **Note:** Version bump only for package @antfu/eslint-config-react

View File

@@ -1,12 +1,12 @@
module.exports = { module.exports = {
extends: [ extends: [
"plugin:react/recommended", 'plugin:react/recommended',
'@antfu/eslint-config-ts', '@antfu/eslint-config-ts',
], ],
"rules": { rules: {
"jsx-quotes": [ 'jsx-quotes': [
"error", 'error',
"prefer-double" 'prefer-double',
] ],
} },
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-react", "name": "@antfu/eslint-config-react",
"version": "0.3.1", "version": "0.3.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],
@@ -19,11 +19,12 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "^0.3.1", "@antfu/eslint-config-ts": "^0.3.4",
"eslint-plugin-react": "^7.20.5" "eslint-plugin-react": "^7.21.5"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^7.6.0", "eslint": "^7.11.0",
"typescript": "^3.9.7" "react": "^16.14.0",
"typescript": "^4.0.3"
} }
} }

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-ts
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) ## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)

View File

@@ -29,5 +29,5 @@ module.exports = {
'@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/ban-types': 'off', '@typescript-eslint/ban-types': 'off',
} },
} }

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-ts", "name": "@antfu/eslint-config-ts",
"version": "0.3.1", "version": "0.3.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],
@@ -17,8 +17,11 @@
"typescript": ">=3.9" "typescript": ">=3.9"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-basic": "^0.3.0", "@antfu/eslint-config-basic": "^0.3.4",
"@typescript-eslint/eslint-plugin": "3.6.1", "@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^3.9.0" "@typescript-eslint/parser": "^4.5.0"
},
"devDependencies": {
"eslint": "^7.11.0"
} }
} }

View File

@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.4](https://github.com/antfu/eslint-config/compare/v0.3.3...v0.3.4) (2020-10-20)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.3](https://github.com/antfu/eslint-config/compare/v0.3.2...v0.3.3) (2020-08-21)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.2](https://github.com/antfu/eslint-config/compare/v0.3.1...v0.3.2) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-vue
## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12) ## [0.3.1](https://github.com/antfu/eslint-config/compare/v0.3.0...v0.3.1) (2020-08-12)
**Note:** Version bump only for package @antfu/eslint-config-vue **Note:** Version bump only for package @antfu/eslint-config-vue

View File

@@ -1,6 +1,6 @@
{ {
"name": "@antfu/eslint-config-vue", "name": "@antfu/eslint-config-vue",
"version": "0.3.1", "version": "0.3.4",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"keywords": [], "keywords": [],
@@ -16,7 +16,10 @@
"access": "public" "access": "public"
}, },
"dependencies": { "dependencies": {
"@antfu/eslint-config-ts": "^0.3.1", "@antfu/eslint-config-ts": "^0.3.4",
"eslint-plugin-vue": "7.0.0-alpha.10" "eslint-plugin-vue": "7.1.0"
},
"devDependencies": {
"eslint": "^7.11.0"
} }
} }

635
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff