2.0.1 • Published 5 years ago

@noxx/eslint-config v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

eslint-config-noxx

npm version

My shareable eslint config


Usage

npm i -D @noxx/eslint-config
// OR
yarn add -D @noxx/eslint-config

Inside of .eslintrc.js (at root of repo)

module.exports = {
  extends: '@noxx',
};

Inside of the scripts node of package.json

"scripts": {
  "test": "eslint ./**/*.js"
},

Notes

If you have any dot folders or files that you want to be linted, create a .eslintignore and add this:

!.FOLDER_NAME/
!.FILE_NAME

If you need support for dynamic imports import('FILE'), then you'll need to install babel-eslint and add it to your .eslintrc.js, this will add support for stage-3 features.

module.exports = {
  ...
  parser: 'babel-eslint',
  ...
};
2.0.1

5 years ago

2.0.0

5 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago