diff --git a/README.md b/README.md index 1e1348eb7..93abf42e0 100644 --- a/README.md +++ b/README.md @@ -99,32 +99,28 @@ const columns =[ ]; const option = { - parentElement: document.getElementById(Table_CONTAINER_DOM_ID), + parentElement: document.getElementById(CONTAINER_ID), records:[ - { + { "230517143221027": "CA-2018-156720", "230517143221030": "JM-15580", "230517143221032": "Bagged Rubber Bands", "230517143221040": "3.024", "230517143221041": "-0.605" - }, - { + }, + { "230517143221027": "CA-2018-115427", "230517143221030": "EB-13975", "230517143221032": "GBC Binding covers", "230517143221040": "20.72", "230517143221041": "6.475" - }, - ... + }, + // ... ], columns, - widthMode:'standard' }; const tableInstance = new VTable.ListTable(option); - - - ``` ## diff --git a/README.zh-CN.md b/README.zh-CN.md index 24e3e9ac2..2cdab2147 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -97,26 +97,25 @@ const columns =[ ]; const option = { - parentElement: document.getElementById(Table_CONTAINER_DOM_ID), + parentElement: document.getElementById(CONTAINER_ID), records:[ - { + { "230517143221027": "CA-2018-156720", "230517143221030": "JM-15580", "230517143221032": "Bagged Rubber Bands", "230517143221040": "3.024", "230517143221041": "-0.605" - }, - { + }, + { "230517143221027": "CA-2018-115427", "230517143221030": "EB-13975", "230517143221032": "GBC Binding covers", "230517143221040": "20.72", "230517143221041": "6.475" - }, - ... + }, + // ... ], columns, - widthMode:'standard' }; const tableInstance = new VTable.ListTable(option); diff --git a/common/autoinstallers/lint/commitlint.config.js b/common/autoinstallers/lint/commitlint.config.js index cfade48be..0b66d7686 100644 --- a/common/autoinstallers/lint/commitlint.config.js +++ b/common/autoinstallers/lint/commitlint.config.js @@ -1,6 +1,7 @@ module.exports = { extends: ['@commitlint/config-conventional'], rules: { + 'header-min-length': [2, 'always', 16], 'not-allowed-chars': [2, 'always'] }, plugins: [