Giter Club home page Giter Club logo

Comments (1)

Flet avatar Flet commented on June 13, 2024 1

Cool 👍

Don't forget about standard --fix which came in the latest version of standard.

For fun I ran it locally. It will automatically fix about 22% of the lint errors for this repo. Here is a list of the things that were not automatically fixed:

~/code/workshopper-adventure master
🕐 ❯ standard --fix | standard-summary
standard: Use JavaScript Standard Style (http://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.
100    Unexpected tab character
96     Expected { after 'if' condition
72     ',' should be placed last
71     Mixed spaces and tabs
48     Expected indentation of 2 space characters but found 0
13     Split initialized 'var' declarations into multiple statements
12     Split initialized 'const' declarations into multiple statements
11     Expected indentation of 4 space characters but found 2
6      Unnecessary escape character
6      Identifier 'fn_or_object' is not in camel case
6      Identifier 'name_or_object' is not in camel case
6      '||' should be placed at the end of the line
5      'exercise' is not defined
5      Expected indentation of 10 space characters but found 8
3      'fs' is defined but never used
3      'path' is defined but never used
3      'menuOptions' is not defined
3      Expected '===' and instead saw '=='
3      Expected { after 'else'
2      Expected '!==' and instead saw '!='
2      The function binding is unnecessary
2      '&&' should be placed at the end of the line
2      '+' should be placed at the end of the line
2      A constructor name should not start with a lowercase letter
1      'parent' is defined but never used
1      Parsing error
1      'error' is not defined
1      'i18nObject' is defined but never used
1      'option' is not defined
1      'print' is defined but never used
1      'completed' is defined but never used
1      '_exercises' is defined but never used
1      'update' is defined but never used
1      Unnecessary use of boolean literals in conditional expression
1      'dir' is defined but never used
1      Gratuitous parentheses around expression
1      Expected consistent spacing
1      Expected indentation of 8 space characters but found 7
1      'result' is already defined
1      Expected indentation of 4 space characters but found 0

from workshopper-adventure.

Related Issues (20)

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.