This package provides an ESLint shareable configuration for JavaScript. It extends the JavaScript Standard Style and eslint:recommended to do the following.
- Enforce the use of standards implemented by modern browser environments.
- Enforce a consistent use of curly brackets, line length, and other minor styling characteristics.
- Remove restrictions on variable declarations, conditional assignments, and the use of parenthesis.
Packages should declare a dependency on ESLint.
npm install eslint --save-dev
npm install eslint-config-kara --save-dev
Extend eslint-config-kara in your ESLint configuration.
{
"extends": "eslint-config-kara"
}
Override the environment configuration to support Node.js or older browsers. See .eslintrc.ie.js for an example.
This project is license under the ISC License (ISC). See the LICENSE file.
- Trevor Karjanis