@oat-sa/eslint-config-tao
v2.0.1
Published
Shareable `.eslintrc` configurations package for `oat-sa` projects.
Downloads
5,335
Maintainers
Readme
eslint-config-tao
Shareable .eslintrc.js configurations package for oat-sa projects.
Concept
All extensions, projects and libraries (oat-sa wide) should use the shared config as a basis.
Current extension contains a pack of shareable configs depending on the stack and target.
General idea is described here: https://eslint.org/docs/developer-guide/shareable-configs
Examples
Use shareable eslint configurations via the extends config property.
Default configuration. Edit the
.eslintrc.jsof your project:module.exports = { extends: '@oat-sa/eslint-config-tao' };Configuration for AMD modules:
module.exports = { extends: '@oat-sa/eslint-config-tao/amd' };Configuration for es modules, svelte, etc.:
module.exports = { extends: '@oat-sa/eslint-config-tao/svelte' };Configuration for node:
module.exports = { extends: '@oat-sa/eslint-config-tao/node' };Configuration for cypress:
module.exports = { extends: '@oat-sa/eslint-config-tao/cypress' };
History
- 0.1.0 Initial release.
- 1.0.0 Added the support of the
nodeconfig, include all plugins as dependencies, turn offimplicit-arrow-linebreak- 1.1.0 Added the
cypressprofile
- 1.1.0 Added the
- 2.0.0 Updated
eslint-plugin-jsdocandeslintto address vulnerabilities; updatedeslint-plugin-jestto address compatibility issue
