Code Monkey home page Code Monkey logo

jslint-error-explanations-zh's Introduction

JSLint Error Explanations zh-CN

DEPRECATED

如需对 JavaScript 代码做检查,推荐你使用 http://eslint.org/


Origin repository jslint-error-explanations.

这是jslint-error-explanations中译版.

翻译进度

58/108

  • 2014-10-27 "Missing '()' invoking a constructor"
  • 2014-10-26 "Missing 'use strict' statement"
  • 2014-10-24 "Mixed double and single quotes"
  • 2014-09-01 "Move the invocation into the parens that contain the function"
  • 2014-08-31 "Move 'var' declarations to the top of the function"
  • 2014-05-27 "Missing name in function declaration"
  • 2014-05-08 "Missing name in function statement"
  • 2014-05-06 "Do not use {a} as a constructor"
  • 2014-05-06 "'{a}' is not a function"
  • 2014-05-06 "'{a}' is not a statement label"
  • 2014-05-05 "'{a}' is not a label"
  • 2014-05-05 "Octal literals are not allowed in strict mode"
  • 2014-05-04 "Don't use octal: '{a}'. Use '\u...' instead"
  • 2014-05-03 "Unexpected parameter '{a}' in get {b} function"
  • 2014-05-02 "Expected parameter (value) in set '{a}' function"
  • 2014-02-02 "Redefinition of '{a}'"
  • 2014-02-10 "Did you mean to return a conditional instead of an assignment?"
  • 2014-02-05 "A regular expression literal can be confused with '/='"
  • 2014-02-03 "Stopping. ({a}% scanned)"
  • 2014-02-03 "Strings must use singlequote"
  • 2014-01-31 "['{a}'] is better written in dot notation"
  • 2014-01-13 "Unexpected sync method: '{a}'"
  • 2014-01-10 "Unexpected TODO comment"
  • 2014-01-08 "This function has too many parameters"
  • 2014-01-07 "Too many parameters per function ({a})"
  • 2014-01-06 "Type confusion: {a} and {b}"
  • 2014-01-05 "Unclosed string"
  • 2014-01-04 "Unclosed comment"
  • 2014-01-03 "Unclosed regular expression"
  • 2014-01-02 "Unexpected 'with'"
  • 2013-12-31 "Unexpected '++'"
  • 2013-12-31 "Unexpected assignment expression"
  • 2013-12-31 "Unexpected '{a}'"
  • 2013-12-31 "Unexpected comment"
  • 2013-12-31 "Unexpected 'else' after 'return'"
  • 2013-12-22 "Unexpected label '{a}'"
  • 2013-12-22 "Unnecessary semicolon"
  • 2013-12-21 "It is not necessary to initialize '{a}' to 'undefined'"
  • 2013-12-18 "Unnecessary 'else' after disruption"
  • 2013-12-12 "Unnecessary use strict"
  • 2013-12-11 "The array literal notation [] is preferrable"
  • 2013-12-08 "Use the array literal notation []"
  • 2013-12-08 "Spaces are hard to count. Use {a}"
  • 2013-12-08 "The object literal notation {} is preferrable"
  • 2013-12-06 "Use the object literal notation {}"
  • 2013-12-03 "Use the || operator"
  • 2013-12-01 "Use a named parameter"
  • 2013-11-28 "'{a}' is not defined"
  • 2013-11-28 "'{a}' was used before it was defined"
  • 2013-11-16 "Variable {a} was not declared correctly"
  • 2013-11-16 "Weird assignment"
  • 2013-11-14 "Weird relation"
  • 2013-11-11 "Don't use 'with'"
  • 2013-11-04 "'with' is not allowed in strict mode"
  • 2013-11-03 "Wrap an immediate function invocation in parentheses"
  • 2013-10-22 "Missing radix parameter"
  • 2013-10-16 "Don't make functions within a loop"
  • 2013-10-14 "You might be leaking a variable ({a}) here"

Contribution

  • Fork me and send pull request.
  • Open issues to correct my translation.

License

CC BY-SA 3.0

jslint-error-explanations-zh's People

Contributors

jklein avatar krinkle avatar sfantasy avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

jslint-error-explanations-zh's Issues

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.