rsdoctor
rsdoctor copied to clipboard
[Feature]: optimize the ecma version check.
What problem does this feature solve?
- Support users in configuring the version number for ECMAScript testing.
- Support for ecma version 8.
What does the proposed API look like?
linter: {
rules: {
'ecma-version-check': [
'Error',
{
checkVersion: 7, // enum, 6 | 7 | 8
exclude: [] // exclude some files.
},
],
},
}