package.json
{
...
"script": {
"@chronocide/eslint-config": "git+https://github.com/chronoDave/eslint-config.git"
}
...
}
eslint.config.js
import { configs, env } from './dist/eslint-config.js';
export default [
configs.base,
// configs.typescript for TypeScript support
{
languageOptions: {
globals: {
...env.node // Node globals
...env.browser // Browser globals
}
}
}
];