Git Product home page Git Product logo

eslint-plugin-extjs's People

Contributors

burnnat avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

eslint-plugin-extjs's Issues

How to active these check in .eslintrc

Hi,

I'm new to ExtJS and Eslint. I'm trying to get the rules you've written to work with my install of eslint.

eslint --version: v0.24.1

I'm using the .eslintrc reset file from here: http://bl.ocks.org/cletusw/e01a85e399ab563b1236

And including your rules as follows:

{
  ...etc

  "rules": {
    ...etc

    ////////// EXTJS //////////
    "ext-array-foreach": 0,
    "ext-deps": 0,
    "no-ext-create": 0,
    "no-ext-multi-def": 0
  }
}

Is this correct? Do I set these key values to 0 to activate the checks? I see in the index.js file you are specifying the rulesConfig with the various rules and key values, 0 in your case. The reason I ask is I have a sample file with some invalid array foreach loops and it doesn't seem to enforce the checks you have created?

Any help you can provide would be greatly appreciated.

Kind Regards,

  • Matt

Would love to connect

Hi there, I'm Kegan Blumenthal, GM at Sencha and Froala (Idera, Inc. owned companies).

I’d love to chat and see if you’re interested in learning about a developer evangelist part-time role I have in mind. We would need roughy 20-30hrs/week and are looking for someone like yourself that is embedded in the JS ecosystem. Email me at [email protected]

Ext is not defined error

I have installed eslint-plugin-extjs locally, and configured it as:

"plugins": [
    "extjs"
  ]

There are no extra rules enabled. When I attempt to lint the code, I get this error for every file:
error "Ext" is not defined no-undef

Is there something simple I'm missing in order to use this plugin, or some additional configuration I need to add?

cant install

Error: Definition for rule 'ext-deps' was not found.
Installed by npm install --save-dev eslint-plugin-extjs
Used eslint v0.22.1
my .eslintrc:

plugins: ["extjs"]

rules:
    ext-deps: [2, 2]

ExtJS v6

Hi - any plans to update this for ExtJS v6.x? Thanks in advance.

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.