Personal ESLint configuration that includes airbnb-base, prettier and some personal rules.
npm i -D eslint-config-kevinrambaud
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": "kevinrambaud"
}
Javascript config format example:
module.exports = {
extends: "kevinrambaud"
};
YAML config format example:
extends: kevinrambaud
Config setup directly in package.json
{
"name": "your-new-package",
"version": "1.0.0",
"private": true,
"devDependencies": {
"eslint-config-kevinrambaud": "^1.0.0"
},
"eslintConfig": {
"extends": "kevinrambaud"
}
}
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
MIT