Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
58b8383d4c | ||
|
|
35a5d3ef9d | ||
|
|
f618005402 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-monorepo",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"packageManager": "pnpm@7.0.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
|
||||
@@ -44,9 +44,15 @@ module.exports = {
|
||||
files: ['*.json', '*.json5'],
|
||||
parser: 'jsonc-eslint-parser',
|
||||
rules: {
|
||||
'jsonc/quotes': ['error', 'double'],
|
||||
'jsonc/quote-props': ['error', 'always'],
|
||||
'jsonc/array-bracket-spacing': ['error', 'never'],
|
||||
'jsonc/comma-dangle': ['error', 'never'],
|
||||
'jsonc/comma-style': ['error', 'last'],
|
||||
'jsonc/indent': ['error', 2],
|
||||
'jsonc/key-spacing': ['error', { beforeColon: false, afterColon: true }],
|
||||
'jsonc/no-octal-escape': 'error',
|
||||
'jsonc/object-curly-newline': ['error', { multiline: true, consistent: true }],
|
||||
'jsonc/object-curly-spacing': ['error', 'always'],
|
||||
'jsonc/object-property-newline': ['error', { allowMultiplePropertiesPerLine: true }],
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -282,6 +288,8 @@ module.exports = {
|
||||
'no-use-before-define': ['error', { functions: false, classes: false, variables: true }],
|
||||
'eslint-comments/disable-enable-pair': 'off',
|
||||
'import/no-named-as-default-member': 'off',
|
||||
'import/no-named-as-default': 'off',
|
||||
'import/namespace': 'off',
|
||||
'n/no-callback-literal': 'off',
|
||||
|
||||
'sort-imports': [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-basic",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eslint-plugin-antfu",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"license": "MIT",
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.mjs",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-react",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
|
||||
@@ -126,5 +126,6 @@ module.exports = {
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||
'@typescript-eslint/ban-types': 'off',
|
||||
'@typescript-eslint/no-namespace': 'off',
|
||||
'@typescript-eslint/triple-slash-reference': 'off',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-ts",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@antfu/eslint-config-vue",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user