1.0.0 • Published 5 years ago
@noxu/eslint-config-base v1.0.0
@noxu/eslint-config-base
This package provides Noxu's base JS .eslintrc (without React plugins) as an extensible shared config.
Under the hood this package rely on airbnb styleguide and prettier for automatic indentation.
Usage
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
, prettier
, eslint-plugin-prettier
and eslint-plugin-import
.
Install the correct versions of each package, which are listed by the command:
npm info "@noxu/eslint-config-base@latest" peerDependencies
If using npm 5+, use this shortcut
npx install-peerdeps --dev @noxu/eslint-config-base
Add
"extends": "@noxu/eslint-config-base"
to your .eslintrc.
1.0.0
5 years ago