Package Exports
- @codeverse/eslint-config
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@codeverse/eslint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Codeverse Linter Configuration
✅ An ESLint Shareable Config for Americademy
Don't be afraid to open an Issue about anything that annoys you; this is here to support us, not get in our way.
Install
This package is a transitive dependency of our usual @codeverse/gulp-registry package; so if
you've a Gulpfile, you probably don't need to install this manually. Otherwise,
npm install --save-dev @codeverse/eslint-configUsage
Shareable configs are designed to work with the extends feature of .eslintrc files.
You can learn more about Shareable Configs on the official ESLint website.
Add this to your .eslintrc.json (or equivalent) file:
{
"extends": "@codeverse"
}Note: We omitted the eslint-config suffix here since it is automatically assumed by ESLint. You
can override settings from this shareable config by adding them directly into your
.eslintrc.json file.
Next, add a .prettierrc.js:
module.exports = require('@codeverse/eslint-config/prettierrc');Learn more
For the full listing of rules visit ESLint.org. Avoid stylistic rules that may conflict with Prettier; we only use ESLint for its semantic rules.
License
MIT. Copyright (c) Americademy, Inc.