ESLint shareable config for my personal style.
npm i -D eslint-config-abouslimi
Create an eslint configuration file at the root of your project. This file can either be .eslintrc
, .eslintrc.json
, .eslintrc.js
or .eslintrc.yml
.
JSON config format example
{
"extends": "abouslimi"
}
Javascript config format example:
module.exports = {
extends: "abouslimi"
};
YAML config format example:
extends: abouslimi
Config setup directly in package.json
{
"name": "your-new-package",
"version": "1.0.0",
"private": true,
"devDependencies": {
"eslint-config-abouslimi": "^1.0.0"
},
"eslintConfig": {
"extends": "abouslimi"
}
}