Coder Social home page Coder Social logo

tslint-eslint-rules's People

Contributors

ajafff avatar aksyonov avatar apexskier avatar blakeembrey avatar boycce avatar buzinas avatar ekoneko avatar filips-alpe avatar hiraash avatar j-f1 avatar jcristovao avatar jez9999 avatar jmlopez-rod avatar jogit82 avatar meltingmosaic avatar nfriend avatar peterjwest avatar recuencojones avatar reduckted avatar rictic avatar schiavi avatar teppeis avatar thani-sh avatar thisunravisara avatar tkrotoff avatar trivikr avatar tsbehlman avatar uselesspickles avatar webschik avatar xapphire13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tslint-eslint-rules's Issues

Create CHANGELOG file and define commit conventions

We should have a CHANGELOG.md file to add all the release notes.

Also, we should have some commit conventions for better readability of our change history.

We must create a Github release everytime I release a new npm package.

False positive: no-ex-assign

error (no-ex-assign) bootstrap.ts[34, 22]: invalid typeof comparison value

The line in question:

export function bootstrapComponents(): void {
    "use strict";

    bootstrap((aurelia: Aurelia) => { // this is line 34
        aurelia.use
            .defaultBindingLanguage()
            .defaultResources()
            .developmentLogging();

        aurelia.start().then(()  => aurelia.enhance({}, document.body));
    });
}

For one, the rule shouldn't apply here. Also, the error message doesn't match the rule description.

Configure TSLint for this project

We must lint our project, so we have a well-defined style-guide.

  • Create tslint.json file
  • Configure all the rules we'll be using (including our owns)
  • Create a build step for linting in Gulp
  • Test if everything is working OK
  • Fix all the linting errors

VSCode Mocha debugging

We must have the ability to debug Mocha right inside VSCode, so it's easier to catch why testings are failing.

Also, we should improve our build process to include sourcemaps, so we'll be able to debug our TypeScript source, instead of the transpiled Javascript code.

Create project skeleton

  1. Install npm dependencies
  2. Create the project structure
  3. Develop the first ESLint => TSLint rule
  4. Create tests for the rule decribed in 3
  5. Update version to 0.1.0

Soon: May use extends

palantir/tslint#1016 (comment)
With the extends feature, custom rules could be published as tslint-config-X too. Rules directory will be merged.:

// tslint-eslint-rules -> tslint-config-eslint
// main: tslint.json
{
  "rulesDirectory": "./<local rule relative path>",
  "rules": {
    // Can add default rules value here, and
    // disable conflicting core rules if needed.
  } 
}

๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.