@semi-kit/config 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/lint.mjs +1 -1
  2. package/package.json +1 -1
package/lib/lint.mjs CHANGED
@@ -1 +1 @@
1
- const js={"regexp/no-unused-capturing-group":`off`,"no-irregular-whitespace":`off`,curly:`off`,"prefer-regex-literals":`off`,camelcase:`error`,"symbol-description":`off`,"no-sequences":`off`,"default-case":`error`,"max-depth":`error`,"max-nested-callbacks":`error`,"no-alert":`error`,"no-console":`off`,"no-else-return":`error`,"no-empty-function":`error`,"no-empty-static-block":`error`,"no-inline-comments":`error`,"no-script-url":`error`,"no-useless-concat":`error`,"no-const-assign":`error`,"require-await":`error`,"line-comment-position":`error`,"operator-assignment":`error`,"operator-linebreak":`off`,"multiline-ternary":`off`},ts={"ts/no-use-before-define":`off`,"ts/semi":`off`,"no-restricted-globals":`off`,"ts/array-type":`error`,"ts/no-duplicate-enum-values":`error`,"ts/no-empty-interface":`error`,"ts/no-inferrable-types":`error`,"ts/no-unused-vars":`error`,"ts/no-explicit-any":`error`,"ts/no-unused-expressions":`off`,"ts/no-floating-promises":`off`,"ts/await-thenable":`off`,"ts/comma-dangle":`off`,"ts/no-unsafe-argument":`off`,"ts/member-delimiter-style":`off`,"ts/ban-types":`off`,"ts/consistent-type-definitions":`off`,"ts/indent":`off`},vue={"vue/component-definition-name-casing":[`error`,`PascalCase`],"vue/no-unused-components":`error`,"vue/no-unused-emit-declarations":`off`,"vue/comma-dangle":`off`,"vue/singleline-html-element-content-newline":`off`,"vue/space-infix-ops":`error`,"vue/prefer-template":`error`,"vue/object-shorthand":[`error`,`properties`],"vue/no-useless-concat":`error`,"vue/no-empty-component-block":`error`,"vue/component-name-in-template-casing":[`error`,`PascalCase`,{registeredComponentsOnly:!1}],"vue/attributes-order":`error`,"vue/space-in-parens":`error`,"vue/object-curly-spacing":[`error`,`always`],"vue/keyword-spacing":`error`,"vue/key-spacing":`error`,"vue/camelcase":`error`,"vue/brace-style":[`error`,`1tbs`],"vue/arrow-spacing":`error`,"vue/array-bracket-spacing":`error`,"vue/eqeqeq":`error`,"vue/v-for-delimiter-style":`error`,"vue/static-class-names-order":`error`,"vue/require-prop-comment":[`error`,{type:`line`}],"vue/require-direct-export":`error`,"vue/prefer-true-attribute-shorthand":`error`,"vue/prefer-separate-static-class":`error`,"vue/padding-lines-in-component-definition":`error`,"vue/padding-line-between-blocks":`error`,"vue/no-v-text":`error`,"vue/no-useless-v-bind":`error`,"vue/no-useless-mustaches":`error`,"vue/no-unused-refs":`error`,"vue/no-static-inline-styles":`error`,"vue/html-comment-indent":`error`,"vue/html-comment-content-spacing":`error`,"vue/html-comment-content-newline":`error`,"vue/define-emits-declaration":`error`,"vue/custom-event-name-casing":[`error`,`camelCase`],"vue/component-options-name-casing":[`error`,`PascalCase`],"vue/component-api-style":`error`,"vue/block-tag-newline":`error`,"vue/this-in-template":`error`,"vue/order-in-components":`error`,"vue/no-lone-template":`error`,"vue/block-order":[`error`,{order:[`script:not([setup])`,`script[setup]`,`template`,`style`]}],"vue/v-slot-style":`error`,"vue/v-on-style":`error`,"vue/v-on-event-hyphenation":`error`,"vue/v-bind-style":`error`,"vue/require-prop-types":`error`,"vue/require-explicit-emits":`error`,"vue/require-default-prop":`error`,"vue/prop-name-casing":`error`,"vue/one-component-per-file":`error`,"vue/no-template-shadow":`error`,"vue/no-spaces-around-equal-signs-in-attribute":`error`,"vue/no-multi-spaces":`error`,"vue/mustache-interpolation-spacing":`error`,"vue/multiline-html-element-content-newline":`error`,"vue/html-indent":`off`,"vue/html-self-closing":[`error`,{html:{void:`always`,normal:`always`,component:`always`},svg:`always`,math:`always`}],"vue/operator-linebreak":`off`,"vue/html-closing-bracket-spacing":`error`,"vue/html-closing-bracket-newline":`error`,"vue/attribute-hyphenation":`error`,"vue/multi-word-component-names":`off`,"vue/no-v-html":`off`,"vue/no-use-v-else-with-v-for":`error`,"vue/no-duplicate-attr-inheritance":`off`,"vue/no-console":`error`,"vue/no-undef-properties":`error`,"vue/require-macro-variable-name":`error`,"vue/prefer-define-options":`error`,"vue/define-macros-order":`error`,"vue/valid-define-options":`error`},stylistic={"style/jsx-wrap-multilines":[`error`,{declaration:`parens-new-line`,assignment:`parens-new-line`,return:`parens-new-line`,arrow:`parens-new-line`,condition:`parens-new-line`,logical:`parens-new-line`,prop:`parens-new-line`,propertyValue:`parens-new-line`}],"style/jsx-pascal-case":`error`,"style/jsx-equals-spacing":[`error`,`never`],"style/jsx-closing-bracket-location":`error`,"style/jsx-closing-tag-location":`off`,"style/jsx-curly-brace-presence":[`error`,{props:`never`,children:`never`}],"style/key-spacing":`error`,"style/lines-between-class-members":`error`,"style/no-extra-parens":`error`,"style/no-multi-spaces":`error`,"style/padded-blocks":[`error`,`never`],"style/space-before-blocks":`error`,"style/space-before-function-paren":`error`,"style/space-in-parens":`error`,"style/switch-colon-spacing":`error`,"style/spaced-comment":[`error`,`always`,{exceptions:[`#`]}],"style/implicit-arrow-linebreak":`off`,"style/block-spacing":`error`,"style/array-bracket-spacing":`error`,"style/arrow-parens":[`error`,`as-needed`],"style/quote-props":`off`,"style/semi":`off`,"style/comma-dangle":`off`,"style/brace-style":[`error`,`1tbs`],"style/member-delimiter-style":`off`,"style/jsx-one-expression-per-line":`off`,"style/jsx-tag-spacing":`error`,"style/operator-linebreak":`off`,"style/jsx-sort-props":`error`,"style/indent":`off`,"style/multiline-ternary":`off`,"style/jsx-curly-newline":`off`,"style/indent-binary-ops":`off`};export{js,stylistic,ts,vue};
1
+ const js={"regexp/no-unused-capturing-group":`off`,"no-irregular-whitespace":`off`,curly:`off`,"prefer-regex-literals":`off`,camelcase:`error`,"symbol-description":`off`,"no-sequences":`off`,"default-case":`error`,"max-depth":`error`,"max-nested-callbacks":`error`,"no-alert":`error`,"no-console":`off`,"no-else-return":`error`,"no-empty-function":`error`,"no-empty-static-block":`error`,"no-inline-comments":`error`,"no-script-url":`error`,"no-useless-concat":`error`,"no-const-assign":`error`,"require-await":`error`,"line-comment-position":`error`,"operator-assignment":`error`,"operator-linebreak":`off`,"multiline-ternary":`off`},ts={"ts/no-use-before-define":`off`,"ts/semi":`off`,"no-restricted-globals":`off`,"ts/array-type":`error`,"ts/no-duplicate-enum-values":`error`,"ts/no-empty-interface":`error`,"ts/no-inferrable-types":`error`,"ts/no-unused-vars":`error`,"ts/no-explicit-any":`error`,"ts/no-unused-expressions":`off`,"ts/no-floating-promises":`off`,"ts/await-thenable":`off`,"ts/comma-dangle":`off`,"ts/no-unsafe-argument":`off`,"ts/member-delimiter-style":`off`,"ts/ban-types":`off`,"ts/consistent-type-definitions":`off`,"ts/indent":`off`},vue={"vue/component-definition-name-casing":[`error`,`PascalCase`],"vue/no-unused-components":`error`,"vue/no-unused-emit-declarations":`off`,"vue/comma-dangle":`off`,"vue/singleline-html-element-content-newline":`off`,"vue/space-infix-ops":`error`,"vue/prefer-template":`error`,"vue/object-shorthand":[`error`,`properties`],"vue/no-useless-concat":`error`,"vue/no-empty-component-block":`error`,"vue/component-name-in-template-casing":[`error`,`PascalCase`,{registeredComponentsOnly:!1}],"vue/attributes-order":`error`,"vue/space-in-parens":`error`,"vue/object-curly-spacing":[`error`,`always`],"vue/keyword-spacing":`error`,"vue/key-spacing":`error`,"vue/camelcase":`error`,"vue/brace-style":[`error`,`1tbs`],"vue/arrow-spacing":`error`,"vue/array-bracket-spacing":`error`,"vue/eqeqeq":`error`,"vue/v-for-delimiter-style":`error`,"vue/static-class-names-order":`error`,"vue/require-prop-comment":`off`,"vue/require-direct-export":`error`,"vue/prefer-true-attribute-shorthand":`error`,"vue/prefer-separate-static-class":`error`,"vue/padding-lines-in-component-definition":`error`,"vue/padding-line-between-blocks":`error`,"vue/no-v-text":`error`,"vue/no-useless-v-bind":`error`,"vue/no-useless-mustaches":`error`,"vue/no-unused-refs":`error`,"vue/no-static-inline-styles":`error`,"vue/html-comment-indent":`error`,"vue/html-comment-content-spacing":`error`,"vue/html-comment-content-newline":`error`,"vue/define-emits-declaration":`error`,"vue/custom-event-name-casing":[`error`,`camelCase`],"vue/component-options-name-casing":[`error`,`PascalCase`],"vue/component-api-style":`error`,"vue/block-tag-newline":`error`,"vue/this-in-template":`error`,"vue/order-in-components":`error`,"vue/no-lone-template":`error`,"vue/block-order":[`error`,{order:[`script:not([setup])`,`script[setup]`,`template`,`style`]}],"vue/v-slot-style":`error`,"vue/v-on-style":`error`,"vue/v-on-event-hyphenation":`error`,"vue/v-bind-style":`error`,"vue/require-prop-types":`error`,"vue/require-explicit-emits":`error`,"vue/require-default-prop":`off`,"vue/prop-name-casing":`error`,"vue/one-component-per-file":`error`,"vue/no-template-shadow":`error`,"vue/no-spaces-around-equal-signs-in-attribute":`error`,"vue/no-multi-spaces":`error`,"vue/mustache-interpolation-spacing":`error`,"vue/multiline-html-element-content-newline":`error`,"vue/html-indent":`off`,"vue/html-self-closing":[`error`,{html:{void:`always`,normal:`always`,component:`always`},svg:`always`,math:`always`}],"vue/operator-linebreak":`off`,"vue/html-closing-bracket-spacing":`error`,"vue/html-closing-bracket-newline":`error`,"vue/attribute-hyphenation":`error`,"vue/multi-word-component-names":`off`,"vue/no-v-html":`off`,"vue/no-use-v-else-with-v-for":`error`,"vue/no-duplicate-attr-inheritance":`off`,"vue/no-console":`error`,"vue/no-undef-properties":`error`,"vue/require-macro-variable-name":`error`,"vue/prefer-define-options":`error`,"vue/define-macros-order":`error`,"vue/valid-define-options":`error`},stylistic={"style/jsx-wrap-multilines":[`error`,{declaration:`parens-new-line`,assignment:`parens-new-line`,return:`parens-new-line`,arrow:`parens-new-line`,condition:`parens-new-line`,logical:`parens-new-line`,prop:`parens-new-line`,propertyValue:`parens-new-line`}],"style/jsx-pascal-case":`error`,"style/jsx-equals-spacing":[`error`,`never`],"style/jsx-closing-bracket-location":`error`,"style/jsx-closing-tag-location":`off`,"style/jsx-curly-brace-presence":[`error`,{props:`never`,children:`never`}],"style/key-spacing":`error`,"style/lines-between-class-members":`error`,"style/no-extra-parens":`error`,"style/no-multi-spaces":`error`,"style/padded-blocks":[`error`,`never`],"style/space-before-blocks":`error`,"style/space-before-function-paren":`error`,"style/space-in-parens":`error`,"style/switch-colon-spacing":`error`,"style/spaced-comment":[`error`,`always`,{exceptions:[`#`]}],"style/implicit-arrow-linebreak":`off`,"style/block-spacing":`error`,"style/array-bracket-spacing":`error`,"style/arrow-parens":[`error`,`as-needed`],"style/quote-props":`off`,"style/semi":`off`,"style/comma-dangle":`off`,"style/brace-style":[`error`,`1tbs`],"style/member-delimiter-style":`off`,"style/jsx-one-expression-per-line":`off`,"style/jsx-tag-spacing":`error`,"style/operator-linebreak":`off`,"style/jsx-sort-props":`error`,"style/indent":`off`,"style/multiline-ternary":`off`,"style/jsx-curly-newline":`off`,"style/indent-binary-ops":`off`};export{js,stylistic,ts,vue};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@semi-kit/config",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Shared development configuration toolkit",
5
5
  "license": "MIT",
6
6
  "author": "lijiaheng <jahnli@163.com>",