stricter-standard
Version:
Stricter JavaScript Standard Style
28 lines (26 loc) • 793 B
JavaScript
const examples = [{
filename: 'arrow-parens.example.js',
line: 1,
message: 'Unexpected parentheses around single function argument.'
}, {
filename: 'brace-style-1tbs.example.js',
line: 1,
message: 'Statement inside of curly braces should be on next line.'
}, {
filename: 'curly.example.js',
line: 1,
message: 'Expected { after \'if\' condition.'
}, {
filename: 'import-exports-last.example.js',
line: 1,
message: 'Export statements should appear at the end of the file'
}, {
filename: 'import-order-alphabetize.example.js',
line: 2,
message: '`assert` import should occur before import of `fs`'
}, {
filename: 'import-order-groups-builtin.example.js',
line: 2,
message: '`assert` import should occur before import of `standard`'
}]
export default examples