1.0.6 • Published 2 years ago
@shoutem/eslint-config-base v1.0.6
@shoutem/eslint-config-base
This package provides Shoutem's base JS .eslintrc (without React plugins) as an extensible shared config.
Usage
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
, eslint-plugin-import
, eslint-plugin-prettier
and prettier
.
- Install the correct versions of each package, which are listed by the command:
npm info "@shoutem/eslint-config-base@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev @shoutem/eslint-config-base
If using npm < 5, you can either install all the peer dependencies manually, or use the install-peerdeps cli tool.
npm install -g install-peerdeps
install-peerdeps --dev @shoutem/eslint-config-base
- Add
"extends": "@shoutem/base"
to your .eslintrc.
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3-rc.1
2 years ago
1.0.3
2 years ago
1.0.3-rc.0
2 years ago
1.0.2
3 years ago
1.0.1
4 years ago
1.0.0
4 years ago