Skip to content

esolidar/eslint-config-esolidar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@esolidar/eslint-config-esolidar

ESLint shareable config for eSolidar projects

Usage

In order to use this shareable config you have to install the package "eslint-config-esolidar" into your project:

yarn add --dev @esolidar/eslint-config-esolidar

Then create ESLint config file named ".eslintrc.js" (or edit if it exists). The content is short as below:

.eslintrc.js

module.exports = {
  extends: ['@esolidar/eslint-config-esolidar'],
};

That's all. It will work.

Sometimes the rules we shared may be not enough. Just add more or overwrite them with your own rules by modifying ".eslintrc.js". For example:

.eslintrc.js

module.exports = {
  extends: ['@esolidar/eslint-config-esolidar'],
  rules: {
    "max-lines": 400,
    "semi": [2, "always"]
  }
};

References

License

The MIT License (MIT)

About

ESLint shareable config for eSolidar projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages