__ __/ _) _ _ _ ) o _ _ (_ \| | (_ (_) (_( ( ) ) (_( | |( ( _) ) )| |_ _ _)_ _ _ _ ) _ _ _ ) _ _| |\__) ( (_ (_( ) ) (_( (_( ) (_( ( (__/_) _)
The rulesets assume sane defaults. — You can directly use them in your projects our you can extend and customize them to suit your specific needs.
Make sure that you have ESLint installed in your project.
npm install eslint-config-jsbites
jbites in your
.eslintrc as follows:
Or if you are using React in your project, use the the React-specific ruleset as follows:
Or if you are on a Node.JS runtime and/or you don’t use a transpiler at all, use the following ruleset:
This module does not pre-install any dependencies.
So when running
eslint if you might get an error message prompting you to install additional eslint parsers and plugins.
Most of the time what you will need to install will be self-explanatory when you look at the error message.
If you have any problems though, feel free to file an issue.
Here are the helper npm scripts that you can run via
npm test: Executes the unit tests.
Important Files and Folders
./index.js: The default ruleset.
./react.js: React-specific rulest.
./node.js: Node.JS-specific rulest.
CHANGELOG.md: A log of what has been done since the last version.
CODE_OF_CONDUCT.md: Tells the collaborators to be nice to each other.
README.md: This very file.
Any help is more than appreciated.
If you want to contribute to the source code, fork this repository and create a pull request.
In lieu of a formal style guide, take care to maintain the existing coding style.
Also, don’t forget to add unit tests for any new or changed functionality.
If you want to report a bug; or share a comment or suggestion, file an issue.
I’ve Found a Bug; I Have an Idea
MIT-licensed. — See the license file for details.
Code of Conduct
We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or nationality.