roots / docs

📝 Documentation for Roots projects
https://roots.io/docs/
168 stars 182 forks source link

Update adding-linting.md use .eslintrc.cjs since sage is set to module #455

Closed chrillep closed 1 year ago

chrillep commented 1 year ago

as per https://eslint.org/docs/latest/use/configure/configuration-files#configuration-file-formats

JavaScript (ESM) - use .eslintrc.cjs when running ESLint in JavaScript packages that specify "type":"module" in their package.json. Note that ESLint does not support ESM configuration at this time.


relates to https://github.com/roots/bud/pull/2157