burnnat / eslint-plugin-extjs Goto Github PK
View Code? Open in Web Editor NEWESLint rules for projects using the ExtJS framework.
License: MIT License
ESLint rules for projects using the ExtJS framework.
License: MIT License
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,
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]
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?
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]
Hi - any plans to update this for ExtJS v6.x? Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.