npm i --save-dev eslint-config-archetype
Extend base configurations, grouped rule definitions, or a combination of both.
module.exports = {
extends: [
'archetype/configurations/browser',
'archetype/rules/plugin-react',
],
};
This package includes the following complete and ready-to-use configurations:
archetype/configurations/browser
archetype/configurations/node
archetype/configurations/react
The following rule-based configurations define every rule supported by eslint and the available plugins. These rule configurations make up the base set of rules for the above complete configurations:
archetype/rules/eslint/layout-formatting
archetype/rules/eslint/possible-problems
archetype/rules/eslint/suggestions
archetype/rules/plugin-import
archetype/rules/plugin-jsdoc
archetype/rules/plugin-prettier
archetype/rules/plugin-react
archetype/rules/plugin-typescript