eslint-config-scratch
Version:
Shareable ESLint config for Scratch
17 lines (14 loc) • 322 B
JavaScript
import { defineConfig } from 'eslint/config'
import globals from 'globals'
export default defineConfig({
languageOptions: {
globals: globals.node,
},
rules: {
'global-require': [2],
'handle-callback-err': [2],
'no-mixed-requires': [2],
'no-new-require': [2],
'no-path-concat': [2],
},
})