@ayanaware/eslint-plugin

1.0.7 • Public • Published

@ayanaware/eslint-plugin

Installation

Install via yarn or npm:

yarn add --dev @ayanaware/eslint-plugin

npm i --save-dev @ayanaware/eslint-plugin

Configuration

Put the .eslintrc.json file into the root folder of your project. Some default environments may be given, but they should be configured according to https://eslint.org/docs/user-guide/configuring#specifying-environments

For JavaScript linting

.eslintrc.json:

{
    "extends": [
        "plugin:@ayanaware/javascript"
    ],
    "env": {

	},
	"ignorePatterns": [
		"node_modules/",
		"dist/",
		"build/"
	]
}

For TypeScript linting

.eslintrc.json:

{
    "extends": [
        "plugin:@ayanaware/typescript"
    ],
    "env": {
		"es2020": true,
	},
	"ignorePatterns": [
		"node_modules/",
		"dist/",
		"build/"
	]
}

Package Sidebar

Install

npm i @ayanaware/eslint-plugin

Weekly Downloads

5

Version

1.0.7

License

MIT

Unpacked Size

31.1 kB

Total Files

24

Last publish

Collaborators

  • hcgrandon
  • akio