* Streamlined eslint usage * import from @sap/cds instead of @sap/cds/lib * Using @sap/cds/eslint.js * eslint.config.mjs aktualisieren * Adjusted eslint usage for eslint9 with cds8
21 lines
532 B
JavaScript
21 lines
532 B
JavaScript
import cds from '@sap/cds/eslint.config.mjs'
|
|
export default [ ...cds.recommended ]
|
|
|
|
//
|
|
// The above is the recommended minimalistic eslint config, just using
|
|
// recommended defaults provided by cds. Alternatively, go for enhanced
|
|
// project-specific options, but only if really required, like this:
|
|
//
|
|
// export default [ ...cds.recommended, {
|
|
// rules: {
|
|
// 'complexity': [ 'warn', 66 ],
|
|
// 'require-await': 'warn',
|
|
// 'no-await-in-loop': 'warn',
|
|
// },
|
|
// }, {
|
|
// ignores: [
|
|
// '**/webapp/**'
|
|
// ]
|
|
// }]
|
|
//
|