Skip to content

palkx/eslint-config-alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eslint Config

This config used in my projects to achieve same style along my JavaScript projects
ESLint shareable config

NPM version Travis Ci build status Dependencies

NPM info

Install

yarn add -D eslint-config-alpha
OR
npm install --save-dev eslint-config-alpha

Usage

Add the ESLint config to your package.json:

{
  "name": "my-project",
  ...
  "eslintConfig": {
    "extends": "alpha"
  }
}

Or to eslintrc.js or eslintrc.json:

{
  "extends": "alpha"
}

Targets

If you are developing with JavaScript consider adding:

{
  "extends": "alpha",
  "env": {
    "browser": true
  }
}

or use the platform specific configs for Node.js:

{
  "extends": "alpha/src/node"
}

or Vue.js:

{
  "extends": "alpha/src/vue"
}

Using the vue extended config will require you to additionally install eslint-plugin-vue and babel-eslint

yarn add -D babel-eslint eslint-plugin-vue
OR
npm install --save-dev babel-eslint eslint-plugin-vue

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

Original Author iCrawl.

GitHub @iCrawl · Twitter @iCrawlToGo

Changed for personal use by iSm1le.

GitHub @iSm1le · Twitter @sm1leua

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published