0.2.0 • Published 1 year ago

@stone-ton/eslint-config-ton v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@stone-ton/eslint-config-ton

Regras de lint compartilhadas da empresa TON

Configurar

Primeiro deve-se configurar o lint executando o comando abaixo e respondendo as perguntas no terminal:

npx eslint --init

Need to install the following packages:
  eslint
Ok to proceed? (y)
You can also run this command directly using 'npm init @eslint/config'.
✔ How would you like to use ESLint? · style
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · none
✔ Does your project use TypeScript? · No / Yes
✔ Where does your code run? · node
✔ How would you like to define a style for your project? · guide
✔ Which style guide do you want to follow? · standard
✔ What format do you want your config file to be in? · JSON

Agora instale a extensão do lint com as regras do TON

npm install @stone-ton/eslint-config-ton --save-dev

e adicione no arquivo .eslintrc.json

{
  "extends": [
    "standard",
    "@stone-ton/eslint-config-ton"
  ],
}
0.2.0

1 year ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago