Skip to content

ESLint environment to improve development efficiency of Axway(Appcelerator) Titanium.

License

Notifications You must be signed in to change notification settings

gimdongwoo/titanium-eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

titanium-eslint-config

ESLint environment to improve development efficiency of Axway(Appcelerator) Titanium.

How to use

  1. Run npm init to create package.json in your titanium project.

  2. Install eslint and config.

    $ npm install --save-dev eslint-config-airbnb-base eslint-plugin-import eslint@3
  3. You can copy .eslintrc and .eslintignore from this repository and put them in the project root.

Disabling Rules with Inline Comments

  1. Disabling Block

    /* eslint-disable */
    
    alert('foo');
    
    /* eslint-enable */
  2. Disabling Line

    alert('foo'); // eslint-disable-line

See the eslint documentation for more.

Sample

  1. appc-sample-ti520

    (Based on appc-sample-ti520, we made very little convention changes.)

Reference

  1. eslint-config-airbnb-base

About

ESLint environment to improve development efficiency of Axway(Appcelerator) Titanium.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages