@sazze/eslint-config-sand
v1.0.1
Published
Sazze's sand JS ESLint config, following our styleguide
Downloads
1
Maintainers
Readme
eslint-config-sand
This package provides Sazze's Sand JS .eslintrc as an extensible shared config.
Usage
eslint-config-sand
Our default export contains all of our ESLint rules, including ECMAScript 6+. It requires eslint
and eslint-plugin-import
.
- Ensure packages are installed with correct version numbers by running:
(
export PKG=@sazze/eslint-config-sand;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
Which produces and runs a command like:x
npm install --save-dev @sazze/eslint-config-sand eslint@^#.#.# eslint-plugin-import@^#.#.#
- Add
"extends": "@sazze/sand"
to your .eslintrc