This package provides bayzat's .eslintrc as an extensible shareable config.
Our default export contains all of our ESLint rules, including EcmaScript 6+.
npm install --save-dev bitbucket:bayzat/eslint-config
git+ssh://[email protected]/tbayaa/eslint-config.git- add it to your
.eslintrc
file
{
"extends": "eslint-config-bayzat"
}
If you want to use this config with your favourite code editor you will probably need to install this config globally into your system library.
npm install --global git+ssh://[email protected]/tbayaa/eslint-config.git
See the ESlint config docs for more information.
Consider adding test cases if you're making complicated rules changes, like anything involving regexes. Perhaps in a distant future, we could use literate programming to structure our README as test cases for our .eslintrc?
You can make sure this module lints with itself using npm run lint
.
It will also fix the found issues if possible.
If you have any problem or suggestion please open an issue here. git+ssh://[email protected]/tbayaa/eslint-config.git
Copyright (c) 2017, Bayzat
Made with ♥ at Bayzat!