Home / npm packages / eslint-plugin-babel

eslint-plugin-babel source code

Every file of eslint-plugin-babel@5.3.1 as published on npm: 29 files, 153 KB. Search them by exact text or regex, in milliseconds.

It uses: new Function().

What eslint-plugin-babel uses

APIIn eslint-plugin-babel
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
Yes: 1 file
e.g. tests/rules/new-cap.js
See the lines
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
tests/rules/object-curly-spacing.js32 KB
tests/rules/no-invalid-this.js22 KB
tests/rules/semi.js19 KB
tests/rules/quotes.js15 KB
tests/rules/camelcase.js15 KB
tests/rules/no-unused-expressions.js8.8 KB
tests/rules/new-cap.js7.4 KB
tests/rules/valid-typeof.js7.0 KB
rules/camelcase.js6.4 KB
rules/semi.js3.3 KB
README.md3.0 KB
rules/no-unused-expressions.js1.7 KB
index.js1.3 KB
rules/array-bracket-spacing.js1.3 KB
rules/generator-star-spacing.js1.2 KB
LICENSE1.2 KB
rules/flow-object-type.js929 B
package.json929 B
rules/func-params-comma-dangle.js819 B
rules/object-shorthand.js802 B
rules/arrow-parens.js773 B
rules/object-curly-spacing.js747 B
rules/no-await-in-loop.js696 B
rules/no-invalid-this.js645 B
rules/new-cap.js544 B
rules/quotes.js460 B
rules/valid-typeof.js313 B
tests/RuleTester.js139 B
.travis.yml78 B

Questions

How many files are in eslint-plugin-babel?

Version 5.3.1 of eslint-plugin-babel publishes 29 files of source, 153 KB in all, not counting images, fonts and source maps.

Does eslint-plugin-babel use eval?

No: eslint-plugin-babel doesn't call eval() anywhere in its published files.

Does eslint-plugin-babel start other programs?

No: eslint-plugin-babel doesn't use child_process anywhere in its published files.

Does eslint-plugin-babel run an install script?

No: eslint-plugin-babel has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine