Comments (7)
Yeah, excluding rules is on my list of TODOs before the next release. I'll track it via this issue.
What do you mean about a list of default rules? Like in the code or just documented more clearly somewhere?
from html-inspector.
Glad to hear it's on your radar!
Regarding the "default rules", I was just looking for a list of rules (such as the "unused-classes" rule) to add to useRules config option. I didn't see a complete list in the docs. Thanks!
from html-inspector.
The README does contain a complete list of the built-in rules, though they are separated into categories so maybe it's not super easy to get a holistic overview.
from html-inspector.
Is the config-friendly name for each rule the lowercase, hyphenated name? For example, "Script Placement" would become "script-placement"?
from html-inspector.
Ahh, OK, now I get what your question is.
Yeah, I can make it more clear what the name identifier is for each of the default rules.
from html-inspector.
Haha, sorry for the confusion. Looking forward to the updates!
from html-inspector.
Very glad to see this! Thanks!
from html-inspector.
Related Issues (20)
- Warn CLI users if PhantomJS isn't installed. HOT 1
- Consider changing the executable name from `htmlinspector` to `html-inspector` for consistency. HOT 1
- NPM Error HOT 5
- ReferenceError: Can't find variable: HTMLInspector HOT 5
- Type error on Firefox 14.0.1 HOT 1
- Pure CSS stylesheets not found / classes not recognized HOT 3
- The <main> element can now appear more than once per page. HOT 3
- Link broken on FAQ HOT 1
- "PhantomJS must be installed to use the HTML Inspector CLI." (Windows 8.1) HOT 4
- Check for cross-domain errors in Firefox. HOT 1
- srcset bug HOT 1
- Don't analyse the content of scripts HOT 8
- "The span element cannot be a child of the del element." HOT 3
- adding a new rule
- disable save cache for url
- Action attribute really required on form elements?
- Please consider adding main to package.json HOT 1
- No output from html-inspector HOT 2
- "'autocomplete' is not a valid attribute of the <button> element."
- "<script> elements should appear right before the closing </body> tag for optimal performance."
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html-inspector.