@modernpoacher/zashiki-govuk-frontend
Version:
GOV.UK Frontend for Zashiki
49 lines (47 loc) • 792 B
JavaScript
import globals from 'globals'
import standard from '@sequencemedia/eslint-config-standard/configs/recommended/merge'
export default [
/**
* Standard config
*/
standard({
files: [
'**/*.{mjs,cjs,mts,cts}'
],
ignores: [
'src',
'test'
],
languageOptions: {
globals: {
...globals.node
}
}
}),
/**
* Standard config for `mjs` and `mts` files
*/
standard({
files: [
'src/**/*.{mjs,cjs,mts,cts}'
],
languageOptions: {
globals: {
...globals.node
}
}
}),
/**
* Standard config for `mjs` and `mts` files
*/
standard({
files: [
'test/**/*.{mjs,cjs,mts,cts}'
],
languageOptions: {
globals: {
...globals.mocha
}
}
})
]