mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-07-13 22:54:11 -04:00
20 lines
362 B
JavaScript
20 lines
362 B
JavaScript
import globals from 'globals'
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node,
|
|
},
|
|
},
|
|
|
|
rules: {
|
|
'global-require': [2],
|
|
'handle-callback-err': [2],
|
|
'no-mixed-requires': [2],
|
|
'no-new-require': [2],
|
|
'no-path-concat': [2],
|
|
},
|
|
},
|
|
]
|