Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

atom-eslint-parser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atom-eslint-parser - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

package.json
{
"name": "atom-eslint-parser",
"version": "0.0.3",
"version": "0.0.4",
"description": "The ESLint custom parser for `.atom` files.",

@@ -74,3 +74,3 @@ "engines": {

"watch:test": "wait-on index.js && warun index.js \"test/*.js\" \"test/fixtures/ast/*/*.json\" \"test/fixtures/*\" --debounce 1000 --no-initial -- nyc -r lcov npm run -s _mocha",
"watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.vue\" -- node test/tools/update-fixtures-ast.js",
"watch:update-ast": "wait-on index.js && warun index.js \"test/fixtures/ast/*/*.atom\" -- node test/tools/update-fixtures-ast.js",
"watch:coverage-report": "wait-on coverage/lcov-report/index.html && opener coverage/lcov-report/index.html"

@@ -77,0 +77,0 @@ },

@@ -1,19 +0,9 @@

# vue-eslint-parser
# atom-eslint-parser
[![npm version](https://img.shields.io/npm/v/vue-eslint-parser.svg)](https://www.npmjs.com/package/vue-eslint-parser)
[![Downloads/month](https://img.shields.io/npm/dm/vue-eslint-parser.svg)](http://www.npmtrends.com/vue-eslint-parser)
[![Build Status](https://travis-ci.org/mysticatea/vue-eslint-parser.svg?branch=master)](https://travis-ci.org/mysticatea/vue-eslint-parser)
[![Coverage Status](https://codecov.io/gh/mysticatea/vue-eslint-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/mysticatea/vue-eslint-parser)
[![Dependency Status](https://david-dm.org/mysticatea/vue-eslint-parser.svg)](https://david-dm.org/mysticatea/vue-eslint-parser)
The ESLint custom parser for `.atom` files.
## ⤴️ Motivation
## Installation
This parser allows us to lint the `<template>` of `.atom` files. We can make mistakes easily on `<template>` if we use complex directives and expressions in the template. This parser and the rules of [eslint-plugin-atom](http://gitlab.baidu.com/atomlint/eslint-plugin-atom) would catch some of the mistakes.
## 💿 Installation
```bash
$ npm install eslint atom-eslint-parser -s --registry=http://pnpm.baidu.com/
npm install eslint atom-eslint-parser --save
```

@@ -23,3 +13,3 @@

## 📖 Usage
## Usage

@@ -42,3 +32,3 @@ 1. Write `parser` option into your `.eslintrc.*` file.

## 🔧 Options
## Options

@@ -91,3 +81,3 @@ `parserOptions` has the same properties as what [espree](https://github.com/eslint/espree#usage), the default parser of ESLint, is supporting.

## 🎇 Usage for custom rules / plugins
## Usage for custom rules / plugins

@@ -98,5 +88,4 @@ - This parser provides `parserServices` to traverse `<template>`.

- [ast.md](./docs/ast.md) is `<template>` AST specification.
- [mustache-interpolation-spacing.js](https://github.com/vuejs/eslint-plugin-vue/blob/b434ff99d37f35570fa351681e43ba2cf5746db3/lib/rules/mustache-interpolation-spacing.js) is an example.
## ⚠️ Known Limitations
## Known Limitations

@@ -114,16 +103,3 @@ Some rules make warnings due to the outside of `<script>` tags.

## 📰 Changelog
- [GitHub Releases](https://github.com/mysticatea/vue-eslint-parser/releases)
## 🍻 Contributing
Welcome contributing!
Please use GitHub's Issues/PRs.
If you want to write code, please execute `npm install && npm run setup` after you cloned this repository.
The `npm install` command installs dependencies.
The `npm run setup` command initializes ESLint as git submodules for tests.
### Development Tools

@@ -137,3 +113,3 @@

- `npm run setup` setups submodules to develop.
- `npm run update-fixtures` updates files in `test/fixtures/ast` directory based on `test/fixtures/ast/*/source.vue` files.
- `npm run update-fixtures` updates files in `test/fixtures/ast` directory based on `test/fixtures/ast/*/source.atom` files.
- `npm run watch` runs `build`, `update-fixtures`, and tests with `--watch` option.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc