2.9.1 • Published 10 months ago
@bigcommerce/eslint-config v2.9.1
@bigcommerce/eslint-config
This package is a configuration preset for ESLint.
Install
npm install --save-dev eslint prettier
npm install --save-dev @bigcommerce/eslint-config
Usage
Add @bigcommerce/eslint-config
to your project's ESLint configuration file. i.e.:
// .eslintrc.js
require('@bigcommerce/eslint-config/patch');
module.exports = {
extends: ['@bigcommerce/eslint-config'],
};
This config also runs prettier via eslint, add the following to your package.json
{
"prettier": "@bigcommerce/eslint-config/prettier"
}
Stylistic rules are considered warnings
for better developer experience, however, we recommend
running CI with:
eslint --max-warnings 0
Usage with Next.js
Make sure to also extend from next's core-web-vitals
.
// .eslintrc.js
require('@bigcommerce/eslint-config/patch');
module.exports = {
extends: ['@bigcommerce/eslint-config', 'next/core-web-vitals'],
};
Release
Please refer to the documentation of lerna for release options.
License
MIT
2.9.1
10 months ago
2.9.0
1 year ago
2.8.1
1 year ago
2.8.0
1 year ago
2.7.0
2 years ago
2.6.2
3 years ago
2.5.0
3 years ago
2.6.1
3 years ago
2.6.0
3 years ago
2.4.0
3 years ago
2.3.0
4 years ago
2.3.1
4 years ago
2.2.0
4 years ago
2.1.0
4 years ago
2.0.0
4 years ago
2.0.0-alpha.8
4 years ago
2.0.0-alpha.7
4 years ago
2.0.0-alpha.6
4 years ago
2.0.0-alpha.5
4 years ago
2.0.0-alpha.4
4 years ago
2.0.0-alpha.3
4 years ago
2.0.0-alpha.0
4 years ago
2.0.0-alpha.1
4 years ago
2.0.0-alpha.2
4 years ago
1.0.1
5 years ago
1.0.0
6 years ago
0.1.0
6 years ago